Skip to content

Commit

Permalink
syntax nginx change
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-jameson committed Sep 17, 2024
1 parent d0bb36a commit 69f3659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdrs-frontend/nginx/cloud.gov/locations.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 69f3659

Please sign in to comment.