Apache 502 The proxy server 解决办法

Apache 使用代理出现
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.

Reason: DNS lookup failure for: xxx.xxx.com
错误,解决办法:

在apache配置文件中的httpd.conf或vhost目录中添加

SetEnv force-proxy-request-1.0.1
SetEnv proxy-nokeepalive 1    (加到外面使用与所有主机)

wKiom1YgVd6T7r8YAAGXO_Dwm3Q174.jpg

你可能感兴趣的:(apache,server,proxy,502,the)