nginx怎么配置隐藏index.php
nginx怎么配置隐藏index.php
日期:2021-06-08 07:01:07 人气:1
nginx.conf里边写
location / {
if (!-e $request_filename){
rewrite ^/(.*)$ /index.php/$1 last;
}
}
location / {
if (!-e $request_filename){
rewrite ^/(.*)$ /index.php/$1 last;
}
}