Update README.md

This commit is contained in:
Adrien Bourmault 2023-04-03 21:17:00 +00:00
parent 31f59c9f5b
commit 29c2242e43
1 changed files with 12 additions and 0 deletions

View File

@ -541,6 +541,18 @@ server {
fastcgi_cache_key $request_method$host$request_uri; fastcgi_cache_key $request_method$host$request_uri;
fastcgi_cache_valid any 7d; 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;
}
} }
``` ```