diff --git a/conf/nginx.conf b/conf/nginx.conf index 5e15e5e..96577b4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -19,10 +19,10 @@ location __PATH__/ { include fastcgi_params; fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + fastcgi_param SCRIPT_FILENAME $fastcgi_path_info; } } location @rewrite { - rewrite ^/(.+)$ __PATH__/index.php$is_args$args; + rewrite ^/(.+)$ __PATH__/index.php?page=$1 last; }