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