From ae7bc2530d3d2a093e0c3bc8e12a6e5f0ad119ea Mon Sep 17 00:00:00 2001 From: andrew-jameson Date: Fri, 13 Sep 2024 18:12:01 -0400 Subject: [PATCH] break out pass header args --- tdrs-frontend/nginx/cloud.gov/locations.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tdrs-frontend/nginx/cloud.gov/locations.conf b/tdrs-frontend/nginx/cloud.gov/locations.conf index 01fa165e0..3e244af87 100644 --- a/tdrs-frontend/nginx/cloud.gov/locations.conf +++ b/tdrs-frontend/nginx/cloud.gov/locations.conf @@ -4,7 +4,8 @@ location ~ ^/(v1|admin|static/admin|swagger|redocs) { resolver 169.254.0.2; set $backend http://{{env "BACKEND_HOST"}}.apps.internal:8080$request_uri; proxy_pass $backend; - proxy_pass_header x-csrftoken Referer; + proxy_pass_header x-csrftoken ; + proxy_pass_header Referer; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;