随笔 - 65  文章 - 0 评论 - 3 阅读 - 15万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  nginx相关问题解决

nginx+php部署FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream错误
摘要:部署zabbix的lnmp环境时,测试php页面打不开,查看nginx的errorlog日志,报错FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, 1、网上查询有 阅读全文
posted @ 2020-04-02 09:36 牛肉丨火锅 阅读(14528) 评论(0) 推荐(0) 编辑
nginx+php部署时/srv/nginx/html/favicon.ico" failed (2: No such file or directory)错误
摘要:网上关于此问题的解决方法千篇一律。解决方法就是关闭favicon.ico的日志 编辑nginx.conf,添加如下命令 location = /favicon.ico { log_not_found off; access_log off; } 阅读全文
posted @ 2020-04-02 09:12 牛肉丨火锅 阅读(6492) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示