刚刚openshift服务器莫名出了点问题,结果导致网站打不开502错误了,着实吓了我一跳
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.
Reason: Error reading from remote server
Apache/2.2.17 (Red Hat Enterprise Web Server) Server at www.lyun.me Port 80
然后百度好久,各种教你ssh或其他方法重启Application,然后折腾好久各种安装结果~~废话少叙,废多看崩~~~其实重启Application真的很简单~~~
教程开始:
- 打开openshift官网“https://www.openshift.com/”;
- 点击右上“log in”登陆
- 登陆后单机你的应用
- 点击下图所示的按钮
- 在弹出的信息中点restart(重启)
- 完事~~等待Application重启完成后你的网站就能打开了~~~
嘛,就是这么简单~~~