title: azure error 502 - Web server received an invalid response while acting as a gateway or proxy server
body: <p>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.</p>
  
  <p>I tried enabling logging errors on azure, but all it gives me are 404 not found errors<a href="https://i.stack.imgur.com/HhQIr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HhQIr.png" alt="see error log"></a></p>