classes:confluence_reverse_proxy_nginx
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| classes:confluence_reverse_proxy_nginx [2018/01/09 09:15] – [Resources] curry_searle | classes:confluence_reverse_proxy_nginx [2018/01/09 19:55] (current) – old revision restored (2018/01/09 13:34) curry_searle | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Install | + | Install |
| < | < | ||
| sudo apt-get install nginx | sudo apt-get install nginx | ||
| </ | </ | ||
| + | Backup '' | ||
| + | < | ||
| + | sudo mv / | ||
| + | sudo vi / | ||
| + | </ | ||
| + | |||
| + | Edit ''/ | ||
| + | < | ||
| + | server { | ||
| + | listen kvm1:80; | ||
| + | server_name kvm1; | ||
| + | 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:// | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | Restart Nginx: | ||
| + | < | ||
| + | sudo service nginx restart | ||
| + | </ | ||
| + | |||
| + | Edit '' | ||
| + | < | ||
| + | sudo vi / | ||
| + | </ | ||
| + | Include the '' | ||
| + | < | ||
| + | < | ||
| + | maxThreads=" | ||
| + | enableLookups=" | ||
| + | proxyName=" | ||
| + | </ | ||
| + | |||
| + | Restart Confluence: | ||
| + | < | ||
| + | sudo / | ||
| + | sudo / | ||
| + | </ | ||
| + | Test your results: [[http:// | ||
| ====Resources==== | ====Resources==== | ||
| - | * [[https:// | + | |
| + | * [[https:// | ||
classes/confluence_reverse_proxy_nginx.1515518112.txt.gz · Last modified: by curry_searle
