Fix hard-coded domain nam ein reverse-proxy.conf
This commit is contained in:
parent
236d33d3fa
commit
8a4986ed49
@ -21,7 +21,7 @@ $SERVER["socket"] == "[::]:443" {
|
||||
|
||||
$HTTP["scheme"] == "http" {
|
||||
url.redirect-code = 307
|
||||
url.redirect = ("/(.*)" => "https://gitea.beniquez.me/$1")
|
||||
url.redirect = ("/(.*)" => "https://${DOMAIN}/$1")
|
||||
}
|
||||
|
||||
$HTTP["host"] == "${DOMAIN}" {
|
||||
|
Loading…
Reference in New Issue
Block a user