Skip to content

Commit

Permalink
fix(docker): clear X-Forwarded-Proto entirely
Browse files Browse the repository at this point in the history
It's passed through from the edge reverse proxy, so setting it again is
redundant.
  • Loading branch information
ericswpark committed Aug 17, 2024
1 parent 91186db commit 080cfca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ server {

proxy_pass http://shipper;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto;
proxy_set_header Host $host;
proxy_redirect off;
}
Expand Down

0 comments on commit 080cfca

Please sign in to comment.