1
0
Fork 0

Merge pull request #9157 from tobiasd/20200907-9155lighttpd

lighttpd follow up of #9155
This commit is contained in:
Hypolite Petovan 2020-09-07 11:55:19 -04:00 committed by GitHub
commit dcac7f0a78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -105,6 +105,9 @@ $HTTP["scheme"] == "https" {
"^\/([^\?]*)\?(.*)$" => "/index.php?pagename=$1&$2",
"^\/(.*)$" => "/index.php?pagename=$1"
)
$HOST["url"] =~ "^/bin/" {
url.access.deny ( "" )
}
}
else $HTTP["host"] !~ "(friendica.example.com|wordpress.example.com)" {
server.document-root = "/var/www/wordpress"