Browse Source

Merge branch 'master' of github.com:oneinstack/oneinstack

lj2007331@gmail.com 5 years ago
parent
commit
51d888f1d4
1 changed files with 4 additions and 2 deletions
  1. 4 2
      config/typecho.conf

+ 4 - 2
config/typecho.conf

@@ -1,3 +1,5 @@
-if (!-e $request_filename) {
-  rewrite ^(.*)$ /index.php$1 last;
+location / {
+  if (!-e $request_filename) {
+    rewrite ^(.*)$ /index.php$1 last;
+  }
 }