mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-10 00:31:35 +08:00
增加yii2框架的重写规则 (#3144)
This commit is contained in:
parent
762a572c40
commit
9658ebdfdb
2 changed files with 4 additions and 0 deletions
3
cmd/server/nginx_conf/rewrite/yii2.conf
Normal file
3
cmd/server/nginx_conf/rewrite/yii2.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
location / {
|
||||
try_files $uri $uri/ /index.php$is_args$args;
|
||||
}
|
|
@ -88,6 +88,7 @@ export const Rewrites = [
|
|||
'typecho',
|
||||
'typecho2',
|
||||
'thinkphp',
|
||||
'yii2',
|
||||
'laravel5',
|
||||
'discuz',
|
||||
'discuzx',
|
||||
|
|
Loading…
Add table
Reference in a new issue