Fix hard-coded domain nam ein reverse-proxy.conf

This commit is contained in:
S David 2023-01-29 05:49:50 +00:00
parent 236d33d3fa
commit 8a4986ed49

View File

@ -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}" {