Add SSL redirect in Traefik configuration

This commit is contained in:
2024-03-02 12:24:04 +08:00
parent 34b7abf58c
commit 94c4d30efd
+1
View File
@@ -147,6 +147,7 @@ http:
headers:
sslProxyHeaders:
X-Forwarded-Proto: "https"
sslRedirect: true
no-www:
redirectRegex:
regex: "^https?://www\\.(.+)"