Update nginx.conf

This commit is contained in:
David Rotermund 2024-07-13 19:37:17 +02:00 committed by GitHub
parent 1fa62556ec
commit 110e4f4fcc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,18 +15,18 @@
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";
server_tokens off;
client_max_body_size 50M;
server_name overleaf.neuro.uni-bremen.de;
location / {
proxy_pass http://authentikserver:9000;
proxy_pass https://authentikserver:9443;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 3m;
proxy_send_timeout 3m;
}
}
}