问题
Hi I followed the tutorial here to set up a node.js application with aws sdk on elastic beanstalk http://aws.amazon.com/developers/getting-started/nodejs/
However, I keep getting this when I upload to elastic beanstalk.
502 Bad Gateway
nginx/1.4.7
I notice when I upload a normal node.js file with requiring aws-sdk, it works.
Why is this?
来源:https://stackoverflow.com/questions/23797755/setting-up-aws-sdk-for-node-js-keeps-returning-502