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

Add trusted host pattern to settings.php in D8

parent 15bdbf37
Branches
No related tags found
No related merge requests found
......@@ -37,6 +37,9 @@ $settings['file_private_path'] = 'sites/{{ item.shortname|default("default") }}/
{% for config in item.conf|default([]) %}
$settings['{{ config.key }}'] = {{ config.value }};
{% endfor %}
$settings['trusted_host_patterns'] = array(
'^{{ item.domain|regex_escape() }}$',
);
# TODO: The following doesn't work yet
# TODO: Make sure that inside jail we point to '/tmp' directly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment