Commit 51947652 authored by xenofem's avatar xenofem
Browse files

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

parent 7502bae8
Pipeline #10068 passed with stage
in 12 minutes and 48 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;
......
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