在配置文件上加上这一句,简单粗暴。兼容rewrite模式

location / {
  try_files $uri $uri/ /index.php?s=$uri&$args;
}

 

相关文章: