fix: update traefik cert resolver to letsencrypt
This commit is contained in:
parent
7e8eaf33f2
commit
cf636e9114
1 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ services:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.mtad-api.rule=Host(`mtd.runfoo.run`) && (PathPrefix(`/api`) || PathPrefix(`/docs`) || PathPrefix(`/redoc`) || PathPrefix(`/openapi.json`))"
|
- "traefik.http.routers.mtad-api.rule=Host(`mtd.runfoo.run`) && (PathPrefix(`/api`) || PathPrefix(`/docs`) || PathPrefix(`/redoc`) || PathPrefix(`/openapi.json`))"
|
||||||
- "traefik.http.routers.mtad-api.entrypoints=websecure"
|
- "traefik.http.routers.mtad-api.entrypoints=websecure"
|
||||||
- "traefik.http.routers.mtad-api.tls.certresolver=myresolver"
|
- "traefik.http.routers.mtad-api.tls.certresolver=letsencrypt"
|
||||||
- "traefik.http.services.mtad-api.loadbalancer.server.port=8000"
|
- "traefik.http.services.mtad-api.loadbalancer.server.port=8000"
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
|
|
@ -102,7 +102,7 @@ services:
|
||||||
labels:
|
labels:
|
||||||
- "traefik.http.routers.mtad-frontend.rule=Host(`mtd.runfoo.run`)"
|
- "traefik.http.routers.mtad-frontend.rule=Host(`mtd.runfoo.run`)"
|
||||||
- "traefik.http.routers.mtad-frontend.entrypoints=websecure"
|
- "traefik.http.routers.mtad-frontend.entrypoints=websecure"
|
||||||
- "traefik.http.routers.mtad-frontend.tls.certresolver=myresolver"
|
- "traefik.http.routers.mtad-frontend.tls.certresolver=letsencrypt"
|
||||||
- "traefik.http.services.mtad-frontend.loadbalancer.server.port=3000"
|
- "traefik.http.services.mtad-frontend.loadbalancer.server.port=3000"
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue