diff --git a/docker-compose.traefik.yml b/docker-compose.traefik.yml
index afd688f9..c261b2d2 100644
--- a/docker-compose.traefik.yml
+++ b/docker-compose.traefik.yml
@@ -15,18 +15,18 @@ services:
- "traefik.docker.network=reverse-proxy"
- "traefik.enable=true"
### ###
- - "traefik.http.middlewares.nopaque-header.headers.customrequestheaders.X-Forwarded-Proto=http"
- - "traefik.http.routers.nopaque.entrypoints=web"
- - "traefik.http.routers.nopaque.middlewares=nopaque-header, redirect-to-https@file"
- - "traefik.http.routers.nopaque.rule=Host(`${SERVER_NAME}`)"
+ - "traefik.http.middlewares.http-nopaque-headers.headers.customrequestheaders.X-Forwarded-Proto=http"
+ - "traefik.http.routers.http-nopaque.entrypoints=http"
+ - "traefik.http.routers.http-nopaque.middlewares=http_nopaque-headers, redirect-to-https@file"
+ - "traefik.http.routers.http-nopaque.rule=Host(`${SERVER_NAME}`)"
### ###
### ###
- - "traefik.http.middlewares.nopaque-secure-header.headers.customrequestheaders.X-Forwarded-Proto=https"
- - "traefik.http.routers.nopaque-secure.entrypoints=web-secure"
- - "traefik.http.routers.nopaque-secure.middlewares=hsts-header@file, nopaque-secure-header"
- - "traefik.http.routers.nopaque-secure.rule=Host(`${SERVER_NAME}`)"
- - "traefik.http.routers.nopaque-secure.tls.certresolver="
- - "traefik.http.routers.nopaque-secure.tls.options=intermediate@file"
+ - "traefik.http.middlewares.https-nopaque-headers.headers.customrequestheaders.X-Forwarded-Proto=https"
+ - "traefik.http.routers.https-nopaque.entrypoints=https"
+ - "traefik.http.routers.https-nopaque.middlewares=hsts-header@file, https-nopaque-headers"
+ - "traefik.http.routers.https-nopaque.rule=Host(`${SERVER_NAME}`)"
+ - "traefik.http.routers.https-nopaque.tls.certresolver="
+ - "traefik.http.routers.https-nopaque.tls.options=intermediate@file"
### ###
networks:
- default