Skip to content
Snippets Groups Projects
Commit 06f514eb authored by jurgenhaas's avatar jurgenhaas
Browse files

ansible-inventories/arocom#189 Varnish Reverse Proxy for Drupal 8

parent 59e0dcfd
Branches
No related tags found
No related merge requests found
......@@ -35,6 +35,10 @@ $settings['container_yamls'][] = __DIR__ . '/services.yml';
$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('') }}");
{% endif %}
{% for config in item.conf|default([]) %}
$settings['{{ config.key }}'] = {{ config.value }};
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment