diff --git a/rootfs/etc/nginx/nginx.conf b/rootfs/etc/nginx/nginx.conf index 7551ffe..5ae1c3b 100644 --- a/rootfs/etc/nginx/nginx.conf +++ b/rootfs/etc/nginx/nginx.conf @@ -57,9 +57,7 @@ http { index index.php index.html; location / { - # First attempt to serve request as file, then - # as directory, then fall back to index.php - try_files $uri $uri/ /index.php?q=$uri&$args; + try_files $uri /index.php$is_args&$args; } # Redirect server error pages to the static page /50x.html