ansible-roles/roles/httpd_common/templates/common_env.inc.j2
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 %}