Compression can be enabled with Traefik 3.0.0-rc1

This commit is contained in:
Daniel Berteaud 2024-02-13 15:29:39 +01:00
parent cf9653c26f
commit cda2aad1c4
2 changed files with 1 additions and 4 deletions

View File

@ -55,7 +55,7 @@ job "lemonldap-ng" {
"traefik.enable=true",
"traefik.http.routers.lemonldap-ng-portal.entrypoints=https",
"traefik.http.routers.lemonldap-ng-portal.middlewares=security-headers@file,rate-limit-std@file,forward-proto@file,inflight-std@file,hsts@file",
"traefik.http.routers.lemonldap-ng-portal.middlewares=security-headers@file,rate-limit-std@file,forward-proto@file,inflight-std@file,hsts@file,compression@file",

View File

@ -84,9 +84,6 @@ llng:
# Disable default CSP as Lemonldap::NG handles it itself
csp: false
middlewares:
# Disable compression until https://github.com/traefik/traefik/pull/10178 is available in a release
compression: false
auto_rule: false
router: '[[ .instance ]]-portal[[ .consul.suffix ]]'