diff --git a/conf/nginx.conf b/conf/nginx.conf index 0bc2c7d..8293184 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,14 +3,14 @@ location __PATH__/ { # Path to source alias __FINALPATH__/app/ ; + index index.php; + if (!-e $request_filename) { rewrite ^__PATH__/(.+)$ __PATH__/index.php?q=$1 last; } - index index.php; - # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file #client_max_body_size 50M;