在 wordpress (网站域名:
sample.com ) 二级目录安装了另一个程序( s ),默认域名(同时也是目录)就是:
sample.com/s, 现在想给二级目录这个程序开启伪静态,在 nginx 配置文件「 sample.com.conf 」填写的 include s.conf,s.conf 里是这样写的:
location /s {
......
}
配置好重启 nginx 后,
sample.com/s 的伪静态是有了,但是
sample.com 里凡是
sample.com/s 开头的页面都是 404,我的 s.conf 的“location /s”是不是哪里写的有问题,哪位懂的请指点一二,谢谢!