forked from rDrama/rDrama
minor nginx change
parent
a48a290b16
commit
9e974e07d3
|
@ -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/ {
|
||||||
|
|
Loading…
Reference in New Issue