diff --git a/mods/sample-nginx.config b/mods/sample-nginx.config index e4ce902515..5a93972108 100644 --- a/mods/sample-nginx.config +++ b/mods/sample-nginx.config @@ -84,7 +84,7 @@ server { # rewrite to front controller as default rule location / { - try_file $uri /index.php?pagename=$uri&$args; + try_files $uri /index.php?pagename=$uri&$args; } # make sure webfinger and other well known services aren't blocked