Refactor traefik.yml to update routing rules for chat and bot subdomains

This commit is contained in:
2024-06-02 09:09:39 +08:00
parent 3e510c8733
commit 568f9a83f5
+1 -1
View File
@@ -31,7 +31,7 @@ services:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.routers.portainer-https.rule=Host(`port.${DOMAIN?Variable not set}`)
- traefik.http.routers.portainer-https.rule=Host(`port.${DOMAIN?Variable not set}`) || Host(`portainer.${DOMAIN?Variable not set}`)
- traefik.http.routers.portainer-https.entrypoints=https
- traefik.http.routers.portainer-https.tls=true
- traefik.http.routers.portainer-https.tls.certresolver=le