diff --git a/conf/nginx.conf b/conf/nginx.conf index cfdefca..ab36d3b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,6 +11,10 @@ location __PATH__/ { index index.php; + if (!-e $request_filename) { + rewrite ^__PATH__/(.*)$ __PATH__/index.php?q=$1 last; + } + try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; diff --git a/conf/settings.php b/conf/settings.php index 90e118e..54bc624 100644 --- a/conf/settings.php +++ b/conf/settings.php @@ -1,4 +1,4 @@ -