1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-10-31 19:44:16 +00:00

Corrected X-Forwarded-Proto meaning for Gunicorn

This commit is contained in:
Mark 2023-10-26 22:43:27 +02:00
parent 2072890fc5
commit cc86730441
No known key found for this signature in database
GPG key ID: 27832B9439353C16

View file

@ -14,7 +14,7 @@ server {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
proxy_set_header Host $host:$server_port;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Proto http;
proxy_set_header X-Forwarded-Ssl off;
proxy_connect_timeout 1800;
proxy_read_timeout 1800;