classes:confluence_reverse_proxy_nginx
This is an old revision of the document!
Install Nginx:
sudo apt-get install nginx
Edit /etc/nginx/sites-enabled/default to include:
server {
listen www.example.com:80;
server_name www.example.com;
location / {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8090;
}
}
Restart Nginx:
sudo service nginx restart
Resources
classes/confluence_reverse_proxy_nginx.1515520742.txt.gz · Last modified: by curry_searle
