Skip to content

Commit

Permalink
增加yii2框架的重写规则 (1Panel-dev#3144)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwenode authored Dec 2, 2023
1 parent 97f6a56 commit 84133d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/server/nginx_conf/rewrite/yii2.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
1 change: 1 addition & 0 deletions frontend/src/global/mimetype.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export const Rewrites = [
'typecho',
'typecho2',
'thinkphp',
'yii2',
'laravel5',
'discuz',
'discuzx',
Expand Down

0 comments on commit 84133d8

Please sign in to comment.