Skip to content
Merged

Ws fn #510

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
9 changes: 0 additions & 9 deletions beta_.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,11 @@ server {
listen 80;
server_name localhost;

set $WS_BACKEND_URL ws://localhost:4000;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri /index.html;
}
location /ws {
proxy_pass $WS_BACKEND_URL;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_read_timeout 86400;
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
Expand Down
Loading