我的 typecho 博客 xxx.com 配置了伪静态 由 xxx.com/index.php->xxx.com
location / {
#REWRITE-END
if ( !-e $request_filename) {
rewrite ^(.*)$ /index.php$1 last;
}
}
然后我想在二级目录配置静态 html,通过 xxx.com/love 访问
location /love {
alias /www/wwwroot/my_love;
index index.html;
如此配置之后一直无效,访问 xxx.com/love 跳转到 typecho 博客的 404 页面。求助各位大佬