diff --git a/templates/traefik-files.yml.j2 b/templates/traefik-files.yml.j2 index b03f2f6..71a4b5b 100644 --- a/templates/traefik-files.yml.j2 +++ b/templates/traefik-files.yml.j2 @@ -7,6 +7,19 @@ data: traefik-middlewares.yaml: | http: middlewares: + test_chain: + chain: + middlewares: + - rate-limit + - security_headers +{% if ingress_whitelist is defined %} + - traefik-ipwhitelist +{% endif %} + - compress +{% if basic_auth|bool %} + - basic-auth +{% endif %} + - authelia compress: compress: excludedContentTypes: ["text/event-stream"]