Skip to content
Snippets Groups Projects
Commit 1c88aaa6 authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#156 Define header values which is useful behind a...

ansible-inventories/arocom#156 Define header values which is useful behind a proxy but also otherwise
parent a067f72d
Branches
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ $databases = array (
{% endfor %}
);
$settings['file_public_base_url'] = '{{ item.protocol|default("https") }}://{{ item.domain }}/sites/{{ item.shortname|default("default") }}/files';
$settings['update_free_access'] = FALSE;
$settings['container_yamls'][] = __DIR__ . '/services.yml';
$settings['install_profile'] = '{{ item.install_profile|default("standard") }}';
......
......@@ -32,6 +32,8 @@
SetEnv no-gzip 1
{% endif %}
{% endif %}
SetEnv HTTP_X_FORWARDED_HOST {{ drupal_domain.protocol|default("https") }}://{{ drupal_domain.domain }}
SetEnv HTTPS {{ (drupal_domain.protocol|default("https") == 'https')|ternary('on','off') }}
DocumentRoot {{ docRoot }}
<Directory {{ docRoot }}/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment