Update 'html/INSTALLATION_NOTES.md'

master
murtaugh 4 years ago
parent 5c01782e88
commit 4e965e657c

@ -39,16 +39,15 @@ NB: The 2 turns on the setGID bit meaning:
``` ```
location /lab/mmurtaugh/ { location /lab/mmurtaugh/ {
proxy_pass http://localhost:9050/; proxy_pass http://localhost:9050/;
# ADDs sandbot
rewrite /(.*) /sandbot/$1 break;
include /etc/nginx/includes/lab.conf; include /etc/nginx/includes/lab.conf;
} }
``` ```
And made a file for common settings: And made a file for common settings (nb: replace sandbot with correct path):
sudo nano /etc/nginx/includes/lab.conf sudo nano /etc/nginx/includes/lab.conf
``` ```
rewrite /(.*) /sandbot/$1 break;
error_page 502 /lab/502.html; error_page 502 /lab/502.html;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;

Loading…
Cancel
Save