http status code

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

500:服务器内部错误,比如php运行出错

502:Bad Gateway

如果服务器扮演的角色是proxy,它接受到上游服务器(upstream)发送来的不完整响应(invalid response)会报502错误

503: service unavailable

504: Gateway timeout

原文地址:https://www.cnblogs.com/helww/p/3794278.html