1
0
mirror of https://git.lapiole.org/dani/ansible-roles.git synced 2025-04-30 00:53:23 +02:00
2021-12-01 19:13:34 +01:00

8 lines
266 B
Django/Jinja

# Determine which protocol to use
RewriteRule .* - [E=HTTP:http]
RewriteCond %{HTTPS} =on
RewriteRule .* - [E=HTTP:https]
{% if httpd_log_format == 'combined_virtual_backend' %}
SetEnvIf X-Forwarded-Proto https HTTPS=on
{% endif %}