nginx配置文件中添加:php
set $root_path '/data/www/m.domain.com/public';
root $root_path;nginx
location / {
try_files $uri $uri/ /index.php?$query_string;
}dom
nginx配置文件中添加:php
set $root_path '/data/www/m.domain.com/public';
root $root_path;nginx
location / {
try_files $uri $uri/ /index.php?$query_string;
}dom