Tweak TLS settings
This commit is contained in:
parent
f20392ce01
commit
425f6963ed
@ -20,8 +20,9 @@ services:
|
||||
deploy:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.api.rule=Host(`traefik.swarm.autonomic.zone`)"
|
||||
- "traefik.http.routers.api.service=api@internal"
|
||||
- "traefik.http.routers.traefik.rule=Host(`traefik.swarm.autonomic.zone`)"
|
||||
- "traefik.http.routers.traefik.tls=true"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=staging"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
@ -25,9 +25,10 @@ entrypoints:
|
||||
address: ":8080"
|
||||
|
||||
certificatesResolvers:
|
||||
myresolver:
|
||||
staging:
|
||||
acme:
|
||||
email: "helo@autonomic.zone"
|
||||
storage: "/letsencrypt/acme.json"
|
||||
# staging enabled, delete to go to production mode
|
||||
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||
httpChallenge:
|
||||
entryPoint: "web"
|
||||
|
Reference in New Issue
Block a user