diff --git a/README.md b/README.md index 96b6d07..bc7d40b 100644 --- a/README.md +++ b/README.md @@ -541,6 +541,18 @@ server { fastcgi_cache_key $request_method$host$request_uri; fastcgi_cache_valid any 7d; } + + location /ws/ { + proxy_pass http://127.0.0.1:8080/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto https; + proxy_redirect off; + } } ```