Skip to content

Commit

Permalink
Merge pull request #349 from kobotoolbox/fix-forwarded-proto-header-w…
Browse files Browse the repository at this point in the history
…ith-dev-env

Fix wrong scheme with HTTPS when using Django development web server
  • Loading branch information
noliveleger authored Sep 10, 2024
2 parents 232c792 + 99c2959 commit 3bed5e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nginx/kobo-docker-scripts/templates/proxy_pass.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ proxy_pass http://${container_name}:${container_port};
proxy_set_header Host $host:$proxy_port;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host ${container_x_forwarded_host}${container_public_port};
proxy_redirect off;

Expand Down

0 comments on commit 3bed5e1

Please sign in to comment.