Redirect old domain to new one

This commit is contained in:
Florian Zirker 2025-04-10 17:06:47 +02:00
parent 2b59b4ce99
commit 7fc79f7a21
2 changed files with 10 additions and 0 deletions

View file

@ -4,6 +4,7 @@
output stdout
format console
}
auto_https disable_redirects
}
(proxy-auth) {
@ -15,6 +16,14 @@
}
}
http://*.{$DOMAIN} {
redir https://{labels.3}.{$DOMAIN}{uri} permanent
}
http://*.{$OLD_DOMAIN} {
redir https://{labels.1}.{$DOMAIN}{uri} permanent
}
*.{$DOMAIN} {
tls {
dns netcup {