feat: update certificates logic:
- Switched xdfnx's homepage certificates to traefik-managed mode - Renamed local fallback certs
This commit is contained in:
@@ -42,6 +42,7 @@ services:
|
||||
# Prod Router
|
||||
- "traefik.http.routers.xdfnx.rule=Host(`xdfnx.cfd`)"
|
||||
- "traefik.http.routers.xdfnx.entrypoints=websecure"
|
||||
- "traefik.http.routers.xdfnx.tls.certresolver=letsencrypt"
|
||||
- "traefik.http.routers.xdfnx.tls=true"
|
||||
# Local Router
|
||||
- "traefik.http.routers.xdfnx-local.rule=Host(`xdfnx.workstation.internal`)"
|
||||
|
||||
@@ -4,14 +4,12 @@ tls:
|
||||
# Cloudflare Origin CA *.forust.xyz
|
||||
# - certFile: /certs/cloudflare.pem
|
||||
# keyFile: /certs/cloudflare.key
|
||||
- certFile: /certs/xdfnx.pem
|
||||
keyFile: /certs/xdfnx.key
|
||||
stores:
|
||||
default:
|
||||
defaultCertificate:
|
||||
# Fallback local certificate
|
||||
certFile: /certs/gigaforust.internal+1.pem
|
||||
keyFile: /certs/gigaforust.internal+1-key.pem
|
||||
certFile: /certs/local.pem
|
||||
keyFile: /certs/local-key.pem
|
||||
|
||||
options:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user