openresty 502Bad Gateway

问答中心分类: Nginxopenresty 502Bad Gateway
1101205737 asked 6 年 ago

使用oneinstack安装的环境  apache2.4+openresty,每次使用vhost.sh添加域名之后,重启httpd,nginx,打开网页总是会出现下面的502,过一段时间才能访问,不知道是什么原因。
502 Bad Gateway openresty

1 Answers
oneinstack answered 6 年 ago
请查看下apache是否工作,
如查看进程是否存在:
ps -ef | grep httpd
端口是否正常启动:
netstat -tpln | grep :80