My Application Gateway responced 502 Bad Gateway
System configuration.
Browser <- https-> Application Gateway <- https -> Apache2 ( azure VM centos7)
for example
Front Website
https://front.example.com/
BackendWebsite
backend.example.com/
Success if the backend protocol is http.
Failed (502 Bad Gateway) if the backend protocol is https
probe https://backend.example.com/ <- Health check was successful from application gateway.
This system uses only TLS1.2
Application Gateway 502 error diagnostics
responce
Bad Gateway Error (502)
We ran several diagnostics on your resource My-AppGateway and have found the below issues that could be the cause of your Bad Gateway Error (502).
Issues Identified
No issues detected.
I hope how to investigate