Skip to content

Commit

Permalink
break out pass header args
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-jameson committed Sep 13, 2024
1 parent 112d2f8 commit ae7bc25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tdrs-frontend/nginx/cloud.gov/locations.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ae7bc25

Please sign in to comment.