I found I could use the Atlassian instructions on using a context path to make the path contain 'confluence', like:
http://mydomain.com/confluence
And then I had nginx (which in this case is on another machine, but I bet it would work fine on the same machine as well), contain this in a server block:
location /confluence {
proxy_pass http://Ubuntu1:8090/confluence;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
Confluence is now running on VM that is not exposed on the Internet and my server running nginx is now basically a proxy for it.
A nice thing is that I can snapshot the VM machine to have a working backup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.