Andreas Neustifter 2018-06-28 19:15:06 +00:00
parent 79a8320fed
commit 6a85b34504

View File

@ -84,9 +84,7 @@ server {
# rewrite to front controller as default rule # rewrite to front controller as default rule
location / { location / {
if (!-e $request_filename) { try_file $uri /index.php?pagename=$uri&$args;
rewrite ^(.*)$ /index.php?pagename=$1;
}
} }
# make sure webfinger and other well known services aren't blocked # make sure webfinger and other well known services aren't blocked