Fix for double redirect
This commit is contained in:
parent
99b7827f19
commit
977593745e
1 changed files with 9 additions and 3 deletions
|
@ -93,9 +93,9 @@
|
|||
}
|
||||
|
||||
@meet host meet.{$DOMAIN}
|
||||
handle @meet {
|
||||
reverse_proxy jitsi-meet-web:80
|
||||
}
|
||||
handle @meet {
|
||||
reverse_proxy jitsi-meet-web:80
|
||||
}
|
||||
|
||||
# Fallback unhandled (sub)domains
|
||||
handle {
|
||||
|
@ -112,6 +112,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
# redirect URL without subdomain to www
|
||||
{$DOMAIN} {
|
||||
redir https://www.{$DOMAIN}{uri} permanent
|
||||
}
|
||||
|
||||
# shortcut to prevent double redirect (http --> https AND without subdomain to www)
|
||||
http://{$DOMAIN} {
|
||||
redir https://www.{$DOMAIN}{uri} permanent
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue