From 16168cc9d9bf4b54449cd896c7a037ac7642ca83 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Sun, 1 Oct 2023 21:59:23 +0200 Subject: [PATCH] Remove proxy_redirect directive --- config/nginx/conf.d/local.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/nginx/conf.d/local.conf b/config/nginx/conf.d/local.conf index b781ca5..b63a1ef 100644 --- a/config/nginx/conf.d/local.conf +++ b/config/nginx/conf.d/local.conf @@ -14,9 +14,8 @@ server { } location / { - proxy_pass http://gunicorn; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; - proxy_redirect off; + proxy_pass http://gunicorn; } }