Redirect old domain to new one
This commit is contained in:
parent
2b59b4ce99
commit
7fc79f7a21
2 changed files with 10 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue