ansible-roles/roles/httpd_common/templates/common_env.inc.j2

8 lines
266 B
Plaintext
Raw Normal View History

2021-12-01 19:13:34 +01:00
# 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 %}