mirror of
https://github.com/1Panel-dev/1Panel
synced 2024-11-22 16:10:22 +00:00
增加yii2框架的重写规则 (#3144)
This commit is contained in:
parent
762a572c40
commit
9658ebdfdb
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…
Reference in New Issue
Block a user