diff options
Diffstat (limited to '.docker/lighttpd.conf')
-rw-r--r-- | .docker/lighttpd.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.docker/lighttpd.conf b/.docker/lighttpd.conf index 05ce81c..1b480ca 100644 --- a/.docker/lighttpd.conf +++ b/.docker/lighttpd.conf @@ -16,7 +16,9 @@ include_shell "/usr/local/bin/lighttpd-env.sh" # Redirect to the "official" domain $HTTP["host"] != var.intendedHost { - url.redirect = ( "^/(.*)" => var.intendedHostProto + "://" + var.intendedHost + "/$1" ) + $HTTP["url"] !~ "^/.well-known" { + url.redirect = ( "^/(.*)" => var.intendedHostProto + "://" + var.intendedHost + "/$1" ) + } } # Add CORS header for WKP |