Forums

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

How to proxy Confluence Cloud from my own domain

Brendan Wyse
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2018

I am attempting to host my Confluence Cloud site on my own domain by following the instructions at https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-753894340.html#ProxyingAtlassianServerapplications-reversehttp

 

I can see that most of the requests are proxying fine but some have XSRF failures.

 

I know that I cannot change the Base URL within Confluence itself because that is not allowed on Confluence Cloud. I believe that would resolve the issue. Is there some other workaround for this by adding something to the Apache config?

 

Current config is as shown:

<VirtualHost *:80>
ServerName mydomain.ie
ServerAlias *.mydomain.ie

SSLProxyEngine on

RemoteIPHeader X-Forwarded-For

ProxyRequests Off
ProxyVia Off

<Proxy *>
Require all granted
</Proxy>

ProxyPass / https://mysite.atlassian.net/
ProxyPassReverse / https://mysite.atlassian.net/
</VirtualHost>

 

xsrf_fail.png

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2018

For a proxy to work properly with Confluence, the Tomcat running it needs to be configured to understand that it is behind a proxy and you need to change the base url to match the proxy.

You can not do either of those things with a Cloud system.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events