We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c646ad4 commit 1ca69a2Copy full SHA for 1ca69a2
1 file changed
configs/traefik-dynamic.yaml
@@ -26,7 +26,7 @@ http:
26
27
redirect-to-www:
28
redirectRegex:
29
- regex: "^(https?://)(?!www\\.)(.+)"
+ regex: "^(https?://)([^w].*|w[^w].*|ww[^w].*|www[^.].*)"
30
replacement: "${1}www.${2}"
31
permanent: true
32
0 commit comments