diff --git a/docker/production.yml b/docker/production.yml index 05733ef6f2..c9cb7df350 100644 --- a/docker/production.yml +++ b/docker/production.yml @@ -87,9 +87,9 @@ services: - traefik.enable=true - traefik.docker.lbswarm=true - traefik.constraint-label-stack=appwrite - - traefik.http.routers.appwrite_api.middlewares=homepage_compress - - traefik.http.services.appwrite_api.loadbalancer.server.port=3000 - traefik.http.middlewares.homepage_compress.compress=true + - traefik.http.routers.homepage.middlewares=homepage_compress + - traefik.http.services.appwrite_api.loadbalancer.server.port=3000 #http - traefik.http.routers.appwrite.entrypoints=web - traefik.http.routers.appwrite.rule=Host(`$_APP_DOMAIN`) || Host(`www.$_APP_DOMAIN`) diff --git a/docker/stage.yml b/docker/stage.yml index c63ebc70d7..2da86dc130 100644 --- a/docker/stage.yml +++ b/docker/stage.yml @@ -88,9 +88,9 @@ services: - traefik.enable=true - traefik.docker.lbswarm=true - traefik.constraint-label-stack=appwrite - - traefik.http.routers.appwrite_api.middlewares=homepage_compress - - traefik.http.services.appwrite_api.loadbalancer.server.port=3000 - traefik.http.middlewares.homepage_compress.compress=true + - traefik.http.routers.homepage.middlewares=homepage_compress + - traefik.http.services.appwrite_api.loadbalancer.server.port=3000 #http - traefik.http.routers.appwrite.entrypoints=web - traefik.http.routers.appwrite.rule=Host(`$_APP_DOMAIN`) || Host(`www.$_APP_DOMAIN`)