Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence behind Apache Proxy generating odd URL

Scala IT May 23, 2019

Hello everyone, I'm in the process of beginning a migration of an existing Confluence server. I have built a test server and installed Confluence succesfully and followed the following guide:

https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html

to forward requests to the Confluence server to port 80. My issues is that while I was able to reach the site succesfully, the URL is appended with the following:

login.action?os_destination=%2Findex.action&permissionViolation=true

If I remove the application from behind the proxy and use the default port 8090 then the URL appears normal. Has anyone encountered this issue before? Here are my configuration files.

confluence.conf (Virtual Host)

<VirtualHost *:80>
ServerName ec2.amazonaws.com

ProxyRequests Off
ProxyVia Off

<Proxy *>
Require all granted
</Proxy>

ProxyPass / http://localhost:8090/
ProxyPassReverse / http://localhost:8090/
</VirtualHost>

Server.xml

<!--
==============================================================================================================
HTTP - Proxying Confluence via Apache or Nginx over HTTP

If you're proxying traffic to Confluence over HTTP, uncomment the connector below and comment out the others.
Make sure you provide the right information for proxyName and proxyPort.

For more information see:
Apache - https://confluence.atlassian.com/x/4xQLM
nginx - https://confluence.atlassian.com/x/TgSvEg

==============================================================================================================
-->

<Connector port="8090" 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="ec2.amazonaws.com" proxyPort="80"/>

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events