minor nginx change

master
Aevann1 2022-12-13 18:24:12 +02:00
parent a48a290b16
commit 9e974e07d3
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ server {
location / { location / {
proxy_pass http://localhost:5000/; proxy_pass http://localhost:5000/;
include includes/headers;
} }
location /socket.io { location /socket.io {
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
@ -16,9 +17,11 @@ server {
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade"; proxy_set_header Connection "Upgrade";
proxy_pass http://localhost:5001/socket.io; proxy_pass http://localhost:5001/socket.io;
include includes/headers;
} }
location /chat { location /chat {
proxy_pass http://localhost:5001/chat; proxy_pass http://localhost:5001/chat;
include includes/headers;
} }
location /images/ { location /images/ {