14 lines
314 B
Plaintext
14 lines
314 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
server_name _;
|
|
location / {
|
|
return 404;
|
|
}
|
|
location /{{ws_path_prefix}}/ {
|
|
proxy_pass http://127.0.0.1:8080;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
proxy_set_header Connection "upgrade";
|
|
}
|
|
}
|