Hi, my name is EisKaffe, I am a complete beginner with Docker, I have this Docker project whose architect has recently changed the apache image thus making my app unusable displaying 502 Bad Gateway all the time. Please help me figure out what might be the problem. This is my docker-compose.yml :
Cal you tell us about the change? 502 bad gateway means you connect to a proxy server which cannot connect to the server behind it. In your case it could be a load balancer in front of Apache HTTPD or Apache HTTPD itself trying to connect to PHP FPM.
Thank you for your help, I really appreciate that.
I would love to copy paste the inspected images into here, but they contain sensitive data that I cannot share, so I will try to describe the differences between Image1 (the old image) and Image2 (the new one).
THESE ARE 4 MAIN DIFFERENCES BETWEEN THE OLD IMAGE AND THE NEW ONE:
1] Image2 contains these 3 lines which are not found in Image1:
4] Also, some 3rd party apps were installed via composer with this new Image2 (composer itself wasn’t located in the old Image1), but I do not think this reason could have caused 502