Skip to content

Commit

Permalink
add sushii.bot domain, use tls certresolver
Browse files Browse the repository at this point in the history
  • Loading branch information
drklee3 committed Aug 6, 2024
1 parent efa141a commit bd0771c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ services:
labels:
- "traefik.docker.network=sushii-2_web"
- "traefik.http.services.sushii-web.loadbalancer.server.port=3000"
- "traefik.http.routers.sushii-web.rule=Host(`sushii.xyz`)"
- "traefik.http.routers.sushii-web.rule=Host(`sushii.xyz`) || Host(`sushii.bot`)"
- "traefik.http.routers.sushii-web.entrypoints=secure"
- "traefik.http.routers.sushii-web.tls.certresolver=acme"
sushii-web-staging:
Expand Down
3 changes: 1 addition & 2 deletions traefik/traefik.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
storage = "/etc/traefik/acme/acme.json"
caServer = "https://acme-v02.api.letsencrypt.org/directory"

[certificatesResolvers.acme.acme.httpChallenge]
entryPoint = "insecure"
[certificatesResolvers.acme.acme.tlsChallenge]

[api]
dashboard = true
Expand Down

0 comments on commit bd0771c

Please sign in to comment.