This commit is contained in:
Éric Gaspar
2023-05-20 19:59:16 +02:00
parent 35809be3a3
commit 965d9ba6aa
3 changed files with 33 additions and 1 deletions

View File

@ -9,6 +9,8 @@ location __PATH__/ {
}
location /api/ws {
proxy_pass http://127.0.0.1:__PORT__;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
@ -17,5 +19,4 @@ location /api/ws {
proxy_set_header Connection "";
proxy_connect_timeout 4000s;
proxy_read_timeout 4000s;
proxy_pass http://127.0.0.1:__PORT__;
}