removed http router, https redirect handled by traefik
This commit is contained in:
1 parent
c2c8d68c7b
commit
1521934e81
1 file changed
+1
-6
+1
-6
@@ -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`)
|
||||
|
||||
Reference in new issue
Block a user