diff --git a/nginx.conf b/nginx.conf index 26f21ee4e..56e0e7bee 100644 --- a/nginx.conf +++ b/nginx.conf @@ -8,6 +8,7 @@ server { location / { proxy_pass http://localhost:5000/; + include includes/headers; } location /socket.io { proxy_set_header Host $http_host; @@ -16,9 +17,11 @@ server { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_pass http://localhost:5001/socket.io; + include includes/headers; } location /chat { proxy_pass http://localhost:5001/chat; + include includes/headers; } location /images/ {