X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mods%2Fsample-nginx.config;h=5a939721082543a4a5bca88be5469101aede07b1;hb=2022d0e812d191acd47b8408f933dfb726a21b92;hp=0c5443828c344e1f3580e6b50a86089f782062a5;hpb=79a8320fedd1e444b9acf11feaa3d160f5e4a5ff;p=friendica.git diff --git a/mods/sample-nginx.config b/mods/sample-nginx.config index 0c5443828c..5a93972108 100644 --- a/mods/sample-nginx.config +++ b/mods/sample-nginx.config @@ -84,9 +84,7 @@ server { # rewrite to front controller as default rule location / { - if (!-e $request_filename) { - rewrite ^(.*)$ /index.php?pagename=$1; - } + try_files $uri /index.php?pagename=$uri&$args; } # make sure webfinger and other well known services aren't blocked