I'm trying to host an azure website and tried troubleshooting for a few hours, but still keep getting the same error 502 Web server received an invalid response while acting as a gateway or proxy server.

I tried enabling logging errors on azure, but all it gives me are 404 not found errors[![see error log](https://i.stack.imgur.com/HhQIr.png)](https://i.stack.imgur.com/HhQIr.png)