mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
8 lines
266 B
Django/Jinja
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 %}
|