Skip to content

Commit

Permalink
Merge pull request #3405 from Shopify/external-auth-proto
Browse files Browse the repository at this point in the history
Prevent X-Forwarded-Proto forward during external auth subrequest
  • Loading branch information
k8s-ci-robot authored Nov 12, 2018
2 parents debf024 + e1720d6 commit 0232611
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rootfs/etc/nginx/template/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ stream {

proxy_pass_request_body off;
proxy_set_header Content-Length "";
proxy_set_header X-Fowarded-Proto "";

{{ if $location.ExternalAuth.Method }}
proxy_method {{ $location.ExternalAuth.Method }};
Expand Down

0 comments on commit 0232611

Please sign in to comment.