diff --git a/conf/nginx.conf b/conf/nginx.conf index fef01e2..9a1e778 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,7 +10,7 @@ location / { index index.php; - rewrite ^/.*$ /index.php last; + try_files $uri $uri/ /index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$;