would like to setup : http://confluence.example.com
from Stash docs:
scheme="http" proxyName="stash.example.com" proxyPort="80"
with mod_proxy setup :
ProxyPass / http://localhost:7990/ connectiontimeout=5 timeout=300 ProxyPassReverse / http://localhost:7990/
has someone been able to configure Confluence the same way? I am aware of https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy
just wondering - why is it using different instructions? something in Confluence that prevents this way?
Create separate VirtualHosts and use a NameVirtualHost declaration at the top. Try something along the lines of:
NameVirtualHost *:80 <VirtualHost *> ServerName confluence.example.com ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://localhost:8090/confluence ProxyPassReverse / http://localhost:8090/confluence <Location /> Order allow,deny Allow from all </Location> </VirtualHost> <VirtualHost *> ServerName stash.example.com ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://localhost:7990/stash connectiontimeout=5 timeout=300 ProxyPassReverse / http://localhost:7990/stash <Location /> Order allow,deny Allow from all </Location> </VirtualHost>
Hi my Community friends! For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs