Add chain middleware exemple
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2022-04-02 11:15:52 +02:00
parent 5456ce68ef
commit 1fccb6896e
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

@ -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"]