Sync traefik config from docker host (host is source of truth)
Repo traefik files had drifted behind the live config on serverweb. Pull the authoritative versions: file-only provider (drop docker provider), Portainer self-signed serversTransport, and correct '||' HostSNI syntax for exchange. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -24,7 +24,7 @@ tcp:
|
|||||||
|
|
||||||
exchange:
|
exchange:
|
||||||
entryPoints: ["websecure"]
|
entryPoints: ["websecure"]
|
||||||
rule: "HostSNI(`mail.osk.team`, `autodiscover.osk.team`)"
|
rule: "HostSNI(`mail.osk.team`) || HostSNI(`autodiscover.osk.team`)"
|
||||||
tls:
|
tls:
|
||||||
passthrough: true
|
passthrough: true
|
||||||
service: servermail-ex
|
service: servermail-ex
|
||||||
|
|||||||
@@ -7,6 +7,10 @@
|
|||||||
# default cert instead (see traefik.yml).
|
# default cert instead (see traefik.yml).
|
||||||
|
|
||||||
http:
|
http:
|
||||||
|
serversTransports:
|
||||||
|
insecure: # skip cert verification to self-signed backends (Portainer 9443)
|
||||||
|
insecureSkipVerify: true
|
||||||
|
|
||||||
routers:
|
routers:
|
||||||
flame:
|
flame:
|
||||||
entryPoints: ["websecure"]
|
entryPoints: ["websecure"]
|
||||||
|
|||||||
+3
-5
@@ -27,11 +27,9 @@ entryPoints:
|
|||||||
# everything else falls through to the HTTP routers.
|
# everything else falls through to the HTTP routers.
|
||||||
|
|
||||||
providers:
|
providers:
|
||||||
# Docker labels (for local containers that opt in with traefik.enable=true)
|
# File provider = ALL routing (SNI passthrough + dashboards). No docker
|
||||||
docker:
|
# provider — every service is defined in dynamic/*.yml, so Traefik needs no
|
||||||
exposedByDefault: false
|
# access to the docker socket (avoids the SELinux socket-permission denial).
|
||||||
network: reverseproxy-nw
|
|
||||||
# File provider = all the static routing (SNI passthrough + dashboards)
|
|
||||||
file:
|
file:
|
||||||
directory: /etc/traefik/dynamic
|
directory: /etc/traefik/dynamic
|
||||||
watch: true
|
watch: true
|
||||||
|
|||||||
Reference in New Issue
Block a user