fix: add certresolver

This commit is contained in:
lab 2021-12-02 23:43:36 +08:00
parent 8ef541615f
commit adf4eb1ffb
2 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ services:
- "traefik.http.routers.gitea.rule=Host(`git.esin.io`)" - "traefik.http.routers.gitea.rule=Host(`git.esin.io`)"
- "traefik.http.routers.gitea.entrypoints=websecure" - "traefik.http.routers.gitea.entrypoints=websecure"
- "traefik.http.routers.gitea.tls=true" - "traefik.http.routers.gitea.tls=true"
- "traefik.http.routers.gitea.tls.certresolver=letsencrypt"
- "traefik.http.routers.gitea.middlewares=gitea-mw" - "traefik.http.routers.gitea.middlewares=gitea-mw"
- "traefik.http.middlewares.gitea-mw.compress=true" - "traefik.http.middlewares.gitea-mw.compress=true"
- "traefik.http.middlewares.gitea-mw.compress.excludedcontenttypes=text/event-stream" - "traefik.http.middlewares.gitea-mw.compress.excludedcontenttypes=text/event-stream"

View File

@ -11,6 +11,7 @@ services:
- "traefik.http.routers.portainer.rule=Host(`portainer.esin.io`)" - "traefik.http.routers.portainer.rule=Host(`portainer.esin.io`)"
- "traefik.http.routers.portainer.entrypoints=websecure" - "traefik.http.routers.portainer.entrypoints=websecure"
- "traefik.http.routers.portainer.tls=true" - "traefik.http.routers.portainer.tls=true"
- "traefik.http.routers.portainer.tls.certresolver=letsencrypt"
- "traefik.http.routers.portainer.middlewares=portainer-mw" - "traefik.http.routers.portainer.middlewares=portainer-mw"
- "traefik.http.middlewares.portainer-mw.compress=true" - "traefik.http.middlewares.portainer-mw.compress=true"
- "traefik.http.middlewares.portainer-mw.compress.excludedcontenttypes=text/event-stream" - "traefik.http.middlewares.portainer-mw.compress.excludedcontenttypes=text/event-stream"