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:
parent
0651db9650
commit
563dfc5432
1 changed files with 5 additions and 6 deletions
|
@ -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/ ;
|
||||||
}
|
#}
|
||||||
|
|
Loading…
Add table
Reference in a new issue