nginx配置文件中添加:

    set   $root_path   '/data/www/m.domain.com/public';
    root   $root_path;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    nginx配置文件中添加:

    set   $root_path   '/data/www/m.domain.com/public';
    root   $root_path;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
  • 2021-05-27
  • 2021-08-10
  • 2021-12-23
  • 2021-04-15
猜你喜欢
  • 2022-03-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
相关资源
相似解决方案