Did some changes
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 51s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 51s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
This commit is contained in:
@@ -1,22 +1,5 @@
|
|||||||
# ./traefik/forward-to-legacy-nginx.yaml
|
# ./traefik/forward-to-legacy-nginx.yaml
|
||||||
|
|
||||||
|
|
||||||
# static configuration (traefik.yml)
|
|
||||||
# entryPoints:
|
|
||||||
# web:
|
|
||||||
# address: ":80" # or :898 in your case
|
|
||||||
# allowACMEByPass: true # <--- WITHOUT THIS, TRAEFIK ALWAYS WINS
|
|
||||||
# https:
|
|
||||||
# address: ":443"
|
|
||||||
|
|
||||||
# certificatesResolvers:
|
|
||||||
# letsencrypt:
|
|
||||||
# acme:
|
|
||||||
# email: "kovagoadi@gmail.com"
|
|
||||||
# storage: "acme.json"
|
|
||||||
# httpChallenge:
|
|
||||||
# entryPoint: web
|
|
||||||
|
|
||||||
tcp:
|
tcp:
|
||||||
routers:
|
routers:
|
||||||
# Router for LEGACY HTTPS (Passthrough)
|
# Router for LEGACY HTTPS (Passthrough)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
traefik8:
|
traefik9:
|
||||||
image: "traefik:v3.6@sha256:67622638cd88dbfcfba40159bc652ecf0aea0e032f8a3c7e3134ae7c037b9910"
|
image: "traefik:v3.6@sha256:67622638cd88dbfcfba40159bc652ecf0aea0e032f8a3c7e3134ae7c037b9910"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
security_opt:
|
security_opt:
|
||||||
@@ -19,6 +19,7 @@ services:
|
|||||||
- "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"
|
- "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"
|
||||||
- "--certificatesresolvers.letsencrypt.acme.email=kovagoadi@gmail.com"
|
- "--certificatesresolvers.letsencrypt.acme.email=kovagoadi@gmail.com"
|
||||||
- "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
|
- "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
|
||||||
|
- "--certificatesResolvers.letsencrypt.acme.caServer=${CERTBOT_CA_RESOLVER}"
|
||||||
- "${TRAEFIK_LEGACY_OPT:-}"
|
- "${TRAEFIK_LEGACY_OPT:-}"
|
||||||
- "--providers.file.watch=true"
|
- "--providers.file.watch=true"
|
||||||
ports:
|
ports:
|
||||||
@@ -45,6 +46,7 @@ services:
|
|||||||
- "traefik.http.routers.whoami.entrypoints=web"
|
- "traefik.http.routers.whoami.entrypoints=web"
|
||||||
- traefik.http.routers.https.entrypoints=https
|
- traefik.http.routers.https.entrypoints=https
|
||||||
- traefik.http.routers.https.tls=true
|
- traefik.http.routers.https.tls=true
|
||||||
|
- traefik.http.routers.https.tls.certresolver=letsencrypt
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
legacy-nginx:
|
legacy-nginx:
|
||||||
|
|||||||
Reference in New Issue
Block a user