1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/focalboard_ynh.git synced 2024-09-03 18:36:19 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2021-08-27 14:40:53 +02:00
parent 0651db9650
commit 563dfc5432
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -1,4 +1,4 @@
location /api/ws/ { location ~ /ws/* {
proxy_pass http://127.0.0.1:__PORT__; proxy_pass http://127.0.0.1:__PORT__;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
@ -26,9 +26,8 @@ location / {
} }
client_max_body_size 50M; client_max_body_size 50M;
proxy_pass http://127.0.0.1:__PORT__; proxy_pass http://127.0.0.1:__PORT__;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "";
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
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;
@ -48,6 +47,6 @@ location / {
more_clear_input_headers 'Accept-Encoding'; more_clear_input_headers 'Accept-Encoding';
} }
location /uploads/ { #location /uploads/ {
alias __FILES_PATH__/uploads/ ; # alias __FILES_PATH__/uploads/ ;
} #}