Enable gzip compression for all sites

This commit is contained in:
Marko Korhonen 2022-03-24 21:03:57 +02:00
parent bd6baa9813
commit 59399c376e
12 changed files with 14 additions and 13 deletions

View file

@ -16,7 +16,7 @@ labels = [
"traefik.http.routers.korhonen-redirect.rule=Host(`korhonen.cc`) || Host(`www.korhonen.cc`)",
"traefik.http.routers.korhonen-redirect.middlewares=www2non-www@file,http2https@file",
"traefik.http.routers.korhonen.entrypoints=https",
"traefik.http.routers.korhonen.middlewares=secHeaders@file,www2non-www@file",
"traefik.http.routers.korhonen.middlewares=secHeaders@file,www2non-www@file,compress@file",
"traefik.http.routers.korhonen.rule=Host(`korhonen.cc`) || Host(`www.korhonen.cc`)",
"traefik.http.routers.korhonen.service=korhonen",
"traefik.http.services.korhonen.loadbalancer.server.port=80",