removed http router, https redirect handled by traefik

This commit is contained in:
bryanpedini committed 2026-10-14 21:22:08 +02:00
1 parent c2c8d68c7b
commit 1521934e81
1 file changed
+1 -6
+1 -6
View File
@@ -6,12 +6,7 @@ services:
image: bryanpedini/go-totp:${TOTP_VERSION}
labels:
- traefik.enable=true
### Section HTTP
- traefik.http.routers.http-totp_bjphoster_com.entrypoints=http
# redirect to HTTPS only
- traefik.http.routers.http-totp_bjphoster_com.middlewares=http-to-https
- traefik.http.routers.http-totp_bjphoster_com.rule=Host(`totp.bjphoster.com`)
### Section HTTPS
# HTTPS
- traefik.http.routers.https-totp_bjphoster_com.entrypoints=https
# configure the exposed service
- traefik.http.routers.https-totp_bjphoster_com.rule=Host(`totp.bjphoster.com`)