iseeyou 发表于 2011-9-13 22:18:29

哪位详细讲解一下 Nginx 502 Bad Gateway 自动重启脚本 使用办法。

被502折腾的要死,搜索到这个:https://bbs.vpser.net/viewthread.php?tid=1913&;extra=&highlight=502&page=1

上面的代码是要保存哪里呢?

我保存为 502.sh 运行 command not found

[ 本帖最后由 iseeyou 于 2011-9-13 23:19 编辑 ]

mmdmm 发表于 2011-9-14 10:44:06

我也想知,希望军歌给个详细教程

licess 发表于 2011-9-14 11:00:51

如果看完帖子还不明白,那我直接我无能为力了。
再去学linux基本知识吧

运行是./502.sh 或全路径 如: /root/502.sh

而且需要chmod +x /root/502.sh

牛角 发表于 2011-9-14 16:35:53

问题是重启php-fpm是无效的,我发现502的时候,比如重启VPS才能恢复正常

iseeyou 发表于 2011-9-15 05:13:38

:Q 明白了 不知道要 +x
页: [1]
查看完整版本: 哪位详细讲解一下 Nginx 502 Bad Gateway 自动重启脚本 使用办法。