Commit a3f233eb authored by Agate's avatar Agate 💬

Merge branch 'fix-mixed-content' into 'master'

Always set X-Forwarded-Proto to avoid mixed content warnings

See merge request !12
parents abfecd4b 51947652
Pipeline #10453 canceled with stages
in 25 seconds
......@@ -2,8 +2,8 @@
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
{% if not funkwhale_nginx_tls_termination -%}
proxy_set_header X-Forwarded-Proto $scheme;
{% if not funkwhale_nginx_tls_termination -%}
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Port $server_port;
proxy_redirect off;
......
Markdown is supported
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