502 Bad Gateway ERROR from my CloudFront #5074
jkoop
started this conversation in
Anything Else
Replies: 1 comment
-
Hello @jkoop If you haven't already solved this issue, I dealt with something similiar hosting my app on AWS. In my case, I realized that following the official documentation, I was configuring tha app to listen locally:
In this case, the app is not bound to the network interface. I needed to change it to 0.0.0.0:8000. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My problem
I followed the guide, and GETting /js/script.js works great, but POSTing to /api/event doesn't:
My setup
My CloudFront Behaviour for /api/event:
My attempted solution
I found the documentation, but it suggests an HTTPS error, which I can't fix.
Any help is appreciated. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions