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;
     }