Skip to content
Snippets Groups Projects
Commit 4f2c877d authored by jurgenhaas's avatar jurgenhaas
Browse files

Change reverse proxy settings for Drupal 8

parent eb52a646
No related branches found
No related tags found
No related merge requests found
......@@ -36,8 +36,8 @@ $settings['install_profile'] = '{{ item.install_profile|default("standard") }}';
$settings['file_public_path'] = 'sites/{{ item.shortname|default("default") }}/files';
$settings['file_private_path'] = 'sites/{{ item.shortname|default("default") }}/private';
{% if varnish_host|default(false) %}
$conf['reverse_proxy'] = TRUE;
$conf['reverse_proxy_addresses'] = array("{{ varnish_host_ip|default('') }}", "127.0.0.1");
$settings['reverse_proxy'] = TRUE;
$settings['reverse_proxy_addresses'] = array("{{ varnish_host_ip|default('') }}", "127.0.0.1");
{% endif %}
{% for config in item.conf|default([]) %}
$settings['{{ config.key }}'] = {{ config.value }};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment