rabin 3 years ago
parent
commit
73a33035bf
1 changed files with 3 additions and 0 deletions
  1. 3 0
      container/conf/web/nginx/conf.d/site.conf

+ 3 - 0
container/conf/web/nginx/conf.d/site.conf

@@ -42,6 +42,9 @@ server {
     if ( $request_uri ~* /(applet\/content|applet_on\/content) ) {
             rewrite ^/(.*)/content/(.*) /$1/content/index.php?$2 last;
     }
+    if ( $request_uri ~* /typecho ) {
+            rewrite ^/typecho/index.php/(.*?) /typecho/index.php?$1 last;
+    }
     if ( $request_uri ~* /log\/data.add ) {
             rewrite ^/log/(.*?) /log/index.php?$1 last;
     }