X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mods%2Fsample-nginx.config;h=71d37855169c39a41f1685b5da4dc160c21c8572;hb=f4dfd4f6490dd965651aeb5fa8d39e0d566ed413;hp=d6afe7174662f00d24c27439d13d0a85bfae820b;hpb=956fe99591311f49652750fa17b1e4487df35a5c;p=friendica.git diff --git a/mods/sample-nginx.config b/mods/sample-nginx.config index d6afe71746..71d3785516 100644 --- a/mods/sample-nginx.config +++ b/mods/sample-nginx.config @@ -91,7 +91,7 @@ server { # by denying dot files and rewrite request to the front controller location ^~ /.well-known/ { allow all; - try_files $uri /index.php?pagename=$uri&$args; + rewrite ^ /index.php?pagename=$uri; } include mime.types;