rabin 5 年之前
父节点
当前提交
73a33035bf
共有 1 个文件被更改,包括 3 次插入0 次删除
  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;
     }