diff --git a/conf/nginx.conf b/conf/nginx.conf index 6ccf495..1adee97 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,14 +3,14 @@ location __PATH__/ { # Path to source alias __INSTALL_DIR__/__NAME__/; + 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 500M;