WebSocket app
This commit is contained in:
16
ws/docker/nginx.conf
Normal file
16
ws/docker/nginx.conf
Normal file
@ -0,0 +1,16 @@
|
||||
upstream websocket {
|
||||
server ws-php:9010;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
proxy_pass http://websocket;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_read_timeout 86400;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user