多个入口访问官方可以访问,访问后台就不行了,需要配置多入口

 

listen 80;
server_name 172.30.164.199;
index index.php index.html index.htm default.php default.htm default.html login.php;
root /www/wwwroot/nqi/public;

if (!-e $request_filename) {
rewrite /login.php(.*)$ /login.php$1 last;
rewrite ^(.*)$ /index.php/$1;
break;
#rewrite ^(.*)$ /index.php?s=/$1 last;
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2022-01-16
  • 2021-12-20
猜你喜欢
  • 2021-08-03
  • 2022-03-01
  • 2021-07-30
  • 2021-09-15
  • 2022-12-23
  • 2021-04-14
相关资源
相似解决方案