I installed JIRA and Confluence on Windows Server 2008 R2 and our team started using it internally. Now we want to allow external access to both applications via links:
I created DNS entries to point to server public IP address, installed Apache and tried some options, but I can’t figure out how to do it? I’m absolute beginner regarding Apache and Tomcat. Can someone spare me of torture and explain how to configure Apache, JIRA and Confluence to achieve this?
It was relativly easy when I got deeper into it:
1. Set JIRA and Confluence to listen ports 8080 and 8090, respectivly, by editing each server.xml file.
2. Loaded proxy modules as explained in https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy
3. Added the following virtual hosts in Apache httpd.conf:
# Confluence Proxy Configuration:
Allow from all
ProxyPass / http://domain.com:8090/
ProxyPassReverse / http://domain.com:8090/
# JIRA Proxy Configuration:
Allow from all
ProxyPass / http://domain.com:8080/
ProxyPassReverse / http://domain.com:8080/
4. Restarted Apache.
You'll need to make use of Apache mod_proxy to perform those redirects. However, since you're running your installation on a Windows based environment, I believe that you can make use of Windows Server native tools: http://blogs.iis.net/carlosag/archive/2010/04/01/setting-up-a-reverse-proxy-using-iis-url-rewrite-and-arr.aspx
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