这是我的问题 我在Azure Web App上将现有的Nodejs api应用程序从Azure Web App部署到Linux上的Azure Web App。测试的原因是确认Web应用程序的性能与操作系统相同(我一直认为它在Linux中运行得更快)。部署完成后,我正在使用http:/// api/{查询的其余部分}测试GET,它已在NodeJS的路由中配置。Linux上的Azure Web App与502代理错误
由于GET查询的结果,我收到以下错误:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>502 Proxy Error</title>
</head>
<body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid
response from an upstream server.
<br />
The proxy server could not handle the request
<em>
<a href="/api/restaurantlist">GET /api/restaurantlist</a>
</em>.
<p>
Reason:
<strong>Error reading from remote server</strong>
</p>
</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at vivaapitest Port 80</address>
</body>
</html>
希望你能帮助我,如果我需要为aparche重定向配置.htcaccess改变 任何援助或咨询会明白!谢谢。
来自API的任何错误日志? –