宝塔面板nginx安装的wordpress或者typecho去掉index.php后404的解决办法 0 By 董德多 on 2019年8月21日 Linux 宝塔面板nginx中安装的wordpress或者typecho程序如果启用隐藏index.php文件功能,会报404错误。 原因是宝塔在nginx中配置为默认走index.php规则,所以如果固定链接中去掉index.php的话,需要在nginx配置中增加一条规则: location / { try_files $uri $uri/ /index.php?$args; } 经测试,wordpress及typecho均可正常隐藏index.php访问。 Nginx 宝塔面板
Centos7 无法启动/重启网络,提示:Job for network.service failed because the control process exited with error code. See “systemctl status network.service” and “journalctl -xe” for details.错误的解决方法 Linux By 董德多