The "https://getcomposer.org/version" file could not be downloaded (HTTP/1.1 502Bad Gateway)use@machine:/path/to/project# curl http://getcomposer.org/installer | php100 166 100 166 0 0 1490
如果远程服务器向我发送500 (或任何其他错误),我应该向客户端发送500 Internal Server Error还是502Bad Gateway?从RFC 7231,
The 502 (Bad Gateway) status code indicates that the server, while一方面,502Bad Gateway看起来是为“哑”服务器设计的,这些服务器只将请求转发到