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

This commit is contained in:
2024-05-31 21:42:36 +08:00
parent 656548d4b0
commit 7645dd739e
5 changed files with 315 additions and 2 deletions
+1 -1
View File
@@ -179,7 +179,7 @@ http:
# https://doc.traefik.io/traefik/middlewares/http/headers/#hostsproxyheaders
# https://docs.djangoproject.com/en/dev/ref/csrf/#ajax
headers:
hostsProxyHeaders: ["X-CSRFToken"]
hostsProxyHeaders: ["X-CSRF-Token"]
sslheader:
# https://docs.traefik.io/master/middlewares/headers/
headers: