Verified Commit 759094bd authored by tyil's avatar tyil

Dont redirect WKD lookups

parent b201ebf9
Pipeline #151222845 passed with stages
in 2 minutes and 43 seconds
......@@ -15,7 +15,7 @@ setenv.add-response-header = (
include_shell "/usr/local/bin/lighttpd-env.sh"
# Redirect to the "official" domain
$HTTP["host"] != var.intendedHost {
$HTTP["host"] != var.intendedHost && $HTTP["url"] !~ "^/.well-known/openpgpkey" {
url.redirect = ( "^/(.*)" => var.intendedHostProto + "://" + var.intendedHost + "/$1" )
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment