From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/http/status/502/index.html | 45 ++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 files/zh-cn/web/http/status/502/index.html (limited to 'files/zh-cn/web/http/status/502') diff --git a/files/zh-cn/web/http/status/502/index.html b/files/zh-cn/web/http/status/502/index.html new file mode 100644 index 0000000000..32ba25eb5b --- /dev/null +++ b/files/zh-cn/web/http/status/502/index.html @@ -0,0 +1,45 @@ +--- +title: 502 Bad Gateway +slug: Web/HTTP/Status/502 +tags: + - 响应状态码 + - 服务器端错误 + - 状态码 +translation_of: Web/HTTP/Status/502 +--- +
{{HTTPSidebar}}
+ +

502 Bad Gateway 是一种HTTP协议的服务器端错误状态代码,它表示作为网关或代理角色的服务器,从上游服务器(如tomcat、php-fpm)中接收到的响应是无效的。

+ +

{{interwiki("wikipedia", "Gateway_(telecommunications)", "Gateway")}} (网关)在计算机网络体系中可以指代不同的设备,502 错误通常不是客户端能够修复的,而是需要由途径的Web服务器或者代理服务器对其进行修复。

+ +

状态

+ +
502 Bad Gateway
+ +

规范

+ + + + + + + + + + + + +
SpecificationTitle
{{RFC("7231", "502 Bad Gateway" , "6.6.3")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

浏览器兼容性

+ + + +

{{Compat("http.status.502")}}

+ +

相关内容

+ + -- cgit v1.2.3-54-g00ecf