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

@ -7,13 +7,14 @@ networks = ["proxy"]
volumes = ["/docker/remotely:/remotely-data"]
labels = [
"traefik.enable=true",
"traefik.docker.network=proxy",
"traefik.http.routers.remotely-redirect.entrypoints=http",
"traefik.http.routers.remotely-redirect.rule=Host(`remotely.korhonen.cc`)",
"traefik.http.routers.remotely-redirect.middlewares=http2https@file",
"traefik.http.routers.remotely.entrypoints=https",
"traefik.http.routers.remotely.middlewares=secHeaders@file,compress@file",
"traefik.http.routers.remotely.rule=Host(`remotely.korhonen.cc`)",
"traefik.http.routers.remotely.service=remotely",
"traefik.docker.network=proxy",
"traefik.http.services.remotely.loadbalancer.server.port=5000",
]