This repository has been archived on 2024-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
wstunnel/wstunnel.conf

14 lines
314 B
Plaintext
Raw Permalink Normal View History

2023-07-01 20:55:17 +03:00
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";
}
}