Skip to content
Snippets Groups Projects
Commit 22d844d5 authored by jurgenhaas's avatar jurgenhaas
Browse files

composer/library/docker-traefik#5 Make traefik configurable

parent 20dd6c52
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ $settings['reverse_proxy'] = TRUE;
$settings['reverse_proxy_addresses'] = array("{{ docker0.proxy }}");
{% endif %}
$settings['trusted_host_patterns'] = array(
'^{{ projectname }}\.docker\.localhost$',
'^{{ projectname }}\.{{ traefik.domain|replace({".": "\\."}) }}$',
'^{{ webserver.type }}$',
{% for domain in extradomains|default([]) %}
'^{{ domain|replace({".": "\\."}) }}$',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment