在根目录下新建名为bcloud_nginx_user.conf的文件,写入下列代码并保存:
location / {
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
}
}
在主机控制面板中,重载站点;
然后,在Typecho的设置——永久链接设置中开启地址重写功能,若提示检测失败,继续勾选“仍然使用”,保存即可。
在根目录下新建名为bcloud_nginx_user.conf的文件,写入下列代码并保存:
location / {
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php/$1 last;
}
}
在主机控制面板中,重载站点;
然后,在Typecho的设置——永久链接设置中开启地址重写功能,若提示检测失败,继续勾选“仍然使用”,保存即可。