Configure Nginx 1.2 as proxy for Jira 5


By default Jira runs on a certain port, in this example at port 8090. It is accessible by This tutorial will make the Jira application available at port 80 with jira as path like: Two configurations are possible, with or without SSL.

Make sure you perform all actions as root.

Without SSL

Change the file /opt/atlassian/jira/conf/server.xml file with:

nano /opt/atlassian/jira/conf/server.xml

Search for the part <Service name=”Catalina”> and make it look like:

<Service name="Catalina">         <Connector port="8090"            

More >

Varnish 3 – Exclude a virtual host


If you have multiple virtual hosts on your webserver, installing Varnish will cause all virtual hosts to be cached. With VCL it’s possible to exclude some virtual hosts.

sudo nano /etc/varnish/default.vcl
sub vcl_recv {     # Don't cache or - optional www     if ( ~ "(www\.)?(|\.(com|nl|org|dev|local)") {         return (pass);     } } sub vcl_deliver {     # You can optionally set a reponse header so it's easier for you to debug

More >

Go to Top