Commit 44b5ccc3 authored by Kevin Daudt's avatar Kevin Daudt 💻
Browse files

Revert "nginx: make X-Forwarded-For config dynamic"

This does not work, as nginx only receives http connections, so it would
always be off.

This reverts commit 687a5894.
parent 687a5894
Pipeline #103852 passed with stages
in 16 minutes and 22 seconds
......@@ -44,7 +44,7 @@ index 74eb8634d..8b440237e 100644
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-Ssl $https;
+ proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment