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&$2",
"^\/(.*)$" => "/index.php?pagename=$1" "^\/(.*)$" => "/index.php?pagename=$1"
) )
$HOST["url"] =~ "^/bin/" {
url.access.deny ( "" )
}
} }
else $HTTP["host"] !~ "(friendica.example.com|wordpress.example.com)" { else $HTTP["host"] !~ "(friendica.example.com|wordpress.example.com)" {
server.document-root = "/var/www/wordpress" server.document-root = "/var/www/wordpress"