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

Update nginx.conf

This commit is contained in:
Éric Gaspar 2023-09-20 19:37:46 +02:00
parent d7d4124bb3
commit 0ff5b3a3e8

View file

@ -4,13 +4,12 @@ location __PATH__/ {
proxy_pass http://127.0.0.1:__PORT__;
more_set_headers "X-Frame-Options: SAMEORIGIN";
proxy_set_header Host $host;
#proxy_http_version 1.1;
proxy_request_buffering off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
# Must be at least as large as the chunk size of PsiTransfer.
#client_max_body_size 5M;
client_max_body_size 5M;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;