1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/overleaf_ynh.git synced 2024-09-03 19:56:27 +02:00

adapt nginx

This commit is contained in:
Thomas 2024-04-28 12:46:26 +02:00 committed by GitHub
parent 777687ab23
commit 6dc0c786aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,14 +9,13 @@ 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_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_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 10m;
proxy_send_timeout 10m;