My Codeigniter project on AWS was working fine. For security reasons, we implemented bastion, created a test domain with all existing code. This new test domain seems to work fine, but few pages when loaded gives 502 bad gateway. Any ideas how to solve this? I have around 14 session variables prior to loading this page which is giving 502 error.
- Is this something can be fixed using Apache configuration?
- Something to deal with codeigniter session / other settings?
Came across https://developernote.com/2012/09/how-i-fixed-nginx-502-bad-gateway-error/ but not sure how to apply for Apache.
Have been spending hours trying to figure out the issue. Please help.