标签: node.js amazon-web-services nginx amazon-s3 elastic-beanstalk
不确定会导致这种情况,但我在https://api.example.com的节点ELB(nginx)上运行了api。我正在https://www.example.com主持我的所有静力学。当我的静态向api发出请求时,它会返回502错误网关或504网关超时。如果我与Postman达到相同的api终点,我没有问题。知道是什么原因造成的吗?
https://api.example.com
https://www.example.com