Hi everyone,
I have installed JIRA server and Confluence server on Linux VM. They are installed on port 8100 and 8300. Further i have installed apache for reverse proxy. My Jira uses url jira.example.com and confluence uses url confluence.example.com:8300. Problem is i am not able to configure apache for confluence in the same way i did for jira server. My confluence url confluence.example.com directs to apache default page. i followed the following document:
https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html
Please if someone can help that would be great.
What have you got for the proxy and reverse proxy lines in the Apache site file(s)? (it would be good to see both pairs - Jira and Confluence)
What changes have you made to the server.xml for the two systems?
Thanks for replying @Nic Brough -Adaptavist-. Please help. Here i have shared the changes i made to respective files:
For Confluence:
Server.xml i added the bold one
<!--
==============================================================================================================
DEFAULT - Direct connector with no proxy, for unproxied HTTP access to Confluence.
If using a http/https proxy, comment out this connector.
-->
<Connector port="8300" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"/>
scheme="http" proxyName="confluence.example.com" proxyPort="80"/>
For JIRA:
Server.xml file i added the bold one
DEFAULT - Direct connector with no proxy for unproxied access to Jira.
<!-- Relaxing chars because of JRASERVER-67974 -->
<Connector port="8100" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false"/>
proxyName="jira.example.com"
proxyPort="80"
scheme="http"/>
Apache2.conf file i added the bold one
# Include generic snippets of statements
IncludeOptional conf-enabled/*.conf
# Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf
<VirtualHost *:80>
ServerName jira.example.com
ProxyRequests Off
ProxyVia Off
ProxyPreserveHost On
<Proxy *>
Require all granted
</Proxy>
ProxyPass / http://jira.example.com:8100/
ProxyPassReverse / http://jira.example.com:8100/
</VirtualHost>
ServerName confluence.example.com
ProxyPass / http://confluence.example.com:8300/
ProxyPassReverse / http://confluence.example.com:8300/
I also tried modifying connector settings in server.xml file under apache http comments but it didn't work.
Thanks and Regards
What have you got as the context entries for the two services?
@Nic Brough -Adaptavist- i haven't added or modified context entries. Because i want Jira to be accessed as jira.example.com and confluence as confluence.example.com instead of example.com/jira and vice versa. Thats what i thought not sure though.
It looks like you're new here. Sign in or register to get started.