diff --git a/_traefik3_labels.yml.jinja b/_traefik3_labels.yml.jinja index b4b53f8c..74f2092b 100644 --- a/_traefik3_labels.yml.jinja +++ b/_traefik3_labels.yml.jinja @@ -54,7 +54,6 @@ {%- else %} {#- Forbidden crawler routers #} - {%- if traefik_version < 3%} {%- if paths_without_crawlers and not domain_group.path_prefixes %} traefik.forbiddenCrawlers-{{ domain_group.loop.index0 }}.frontend.headers.customResponseHeaders: "X-Robots-Tag:noindex, nofollow" @@ -67,7 +66,6 @@ ) }} {%- endif %} - {%- endif %} {#- Normal routers #} {%- if paths_without_crawlers != ["/"] or domain_group.path_prefixes %}