diff --git a/conf/nginx.conf b/conf/nginx.conf index bfd0484..9572324 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,16 +9,15 @@ location __PATH__/ { # Set max upload size client_max_body_size 50m; - proxy_pass http://localhost:__PORT__; # The port must match the value of OVERLEAF_PORT. - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - proxy_set_header Host $host; - proxy_set_header X-Forwarded-Host $host; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_read_timeout 10m; - proxy_send_timeout 10m; + proxy_pass http://localhost:__PORT__; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_read_timeout 10m; + proxy_send_timeout 10m; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;