灯塔修复
之前更换了服务器,然后所有东西都得重装,怪不得大家都不爱换,实在太麻烦了XD
当然包括灯塔博客,一开始装完的时候,我还没发现
直到一天我自己想水点东西,结果一点一个404
但是因为没空,并且不点开别的页面就没事,于是就懒得管了>_<
不过呢,今天这个问题就搞定了,是URL重写的问题
因为重新安装nginx的时候,使用的是默认配置,然后就出事了
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
也不知道之前怎么配置对的,总之应该是下面这个才对
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ /index.php?$args;
}
ok,也是可以又开始水博客了>_<