Skip to content

Commit

Permalink
remove reverse proxy headers that shouldn't be needed
Browse files Browse the repository at this point in the history
  • Loading branch information
TimHess committed Feb 10, 2024
1 parent 5c75507 commit c5c5da2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deploy/docker/initializr-web.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ server {
location /api {
proxy_ssl_protocols TLSv1.2;
proxy_pass $INITIALIZR_SERVICE_URI;
proxy_cache_bypass $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $INITIALIZR_SERVICE_HOST;
proxy_set_header Connection keep-alive;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
Expand Down

0 comments on commit c5c5da2

Please sign in to comment.