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:59] – curry_searle | classes:confluence_reverse_proxy_nginx [2018/01/09 19:55] (current) – old revision restored (2018/01/09 13:34) curry_searle | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| < | < | ||
| sudo apt-get install nginx | sudo apt-get install nginx | ||
| + | </ | ||
| + | |||
| + | Backup '' | ||
| + | < | ||
| + | sudo mv / | ||
| + | sudo vi / | ||
| </ | </ | ||
| Line 7: | Line 13: | ||
| < | < | ||
| server { | server { | ||
| - | listen | + | listen |
| - | server_name | + | server_name |
| location / { | location / { | ||
| proxy_set_header X-Forwarded-Host $host; | proxy_set_header X-Forwarded-Host $host; | ||
| Line 22: | Line 28: | ||
| sudo service nginx restart | 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.1515520742.txt.gz · Last modified: by curry_searle
