Update nginx.conf
This commit is contained in:
@@ -5,13 +5,6 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
server_name www.aetoskia.com;
|
server_name www.aetoskia.com;
|
||||||
|
|
||||||
# root /usr/share/nginx/html;
|
|
||||||
# index index.html;
|
|
||||||
|
|
||||||
# location / {
|
|
||||||
# try_files $uri /index.html;
|
|
||||||
# }
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://private-pi:3001/;
|
proxy_pass http://private-pi:3001/;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
@@ -19,7 +12,6 @@ server {
|
|||||||
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-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
|
||||||
# WebSocket support (needed for qBittorrent WebUI)
|
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
Reference in New Issue
Block a user