From 69f365923dc90656e0d7426c71251b1f60138578 Mon Sep 17 00:00:00 2001 From: andrew-jameson Date: Tue, 17 Sep 2024 15:41:23 -0400 Subject: [PATCH] syntax nginx change --- tdrs-frontend/nginx/cloud.gov/locations.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdrs-frontend/nginx/cloud.gov/locations.conf b/tdrs-frontend/nginx/cloud.gov/locations.conf index 07a3a96d5..1558c3bb2 100644 --- a/tdrs-frontend/nginx/cloud.gov/locations.conf +++ b/tdrs-frontend/nginx/cloud.gov/locations.conf @@ -5,7 +5,7 @@ location ~ ^/(v1|admin|static/admin|swagger|redocs) { set $backend http://{{env "BACKEND_HOST"}}.apps.internal:8080$request_uri; proxy_pass $backend; proxy_pass_header x-csrftoken; - proxy_set_header Referer env {{ALLOWED_ORIGIN}}; #"https://tdp-frontend-develop.acf.hhs.gov/admin"; + proxy_set_header Referer {{env "ALLOWED_ORIGIN" }}; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;