Skip to content
Snippets Groups Projects
Commit 4020622a authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#2824 Set variable HTTP_X_FORWARDED HOST only if no...

ansible-inventories/arocom#2824 Set variable HTTP_X_FORWARDED HOST only if no HaProxy and if no multidomain setup is being used
parent e7b30b40
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,9 @@
{% if drupal_domain.bigpipe|default(false) %}
SetEnv no-gzip 1
{% endif %}
{% if groups.proxyserver is not defined and not drupal_domain.multidomain|default(false) %}
SetEnv HTTP_X_FORWARDED_HOST {{ drupal_domain.domain }}
{% endif %}
SetEnv HTTPS {{ (drupal_domain.protocol|default("https") == 'https')|ternary('on','off') }}
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment