Update 'html/INSTALLATION_NOTES.md'

master
murtaugh 4 years ago
parent 5c01782e88
commit 4e965e657c

@ -39,21 +39,20 @@ NB: The 2 turns on the setGID bit meaning:
```
location /lab/mmurtaugh/ {
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
```
rewrite /(.*) /sandbot/$1 break;
error_page 502 /lab/502.html;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_redirect off;
proxy_buffering off;
proxy_set_header Upgrade $http_upgrade;

Loading…
Cancel
Save