1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/planka_ynh.git synced 2024-09-03 20:06:00 +02:00

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-12-14 11:41:42 +01:00
parent 01f34019d4
commit 91cbdbb781

View file

@ -8,7 +8,7 @@ location __PATH__/ {
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
} }
location /socket.io/ { location /.io/ {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:__PORT_SOCKET__/; proxy_pass http://127.0.0.1:__PORT_SOCKET__/;