Remove proxy_redirect directive

This commit is contained in:
Sonny Bakker 2023-10-01 21:59:23 +02:00
parent 9097caf438
commit 16168cc9d9

View file

@ -14,9 +14,8 @@ server {
} }
location / { location / {
proxy_pass http://gunicorn;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_redirect off; proxy_pass http://gunicorn;
} }
} }