Add space to Traefik rule

This commit is contained in:
Bruno Alla 2023-04-02 08:33:00 +01:00 committed by GitHub
parent 213f623b93
commit c3975af3d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ http:
web-media-router: web-media-router:
{%- if cookiecutter.domain_name.count('.') == 1 %} {%- if cookiecutter.domain_name.count('.') == 1 %}
rule: "(Host(`{{ cookiecutter.domain_name }}`) || Host(`www.{{ cookiecutter.domain_name }}`))&& PathPrefix(`/media/`)" rule: "(Host(`{{ cookiecutter.domain_name }}`) || Host(`www.{{ cookiecutter.domain_name }}`)) && PathPrefix(`/media/`)"
{%- else %} {%- else %}
rule: "Host(`{{ cookiecutter.domain_name }}`) && PathPrefix(`/media/`)" rule: "Host(`{{ cookiecutter.domain_name }}`) && PathPrefix(`/media/`)"
{%- endif %} {%- endif %}