Nginx Issues Http 499 Error After 60 Seconds Despite Config. (PHP and Aws)

NginX issues HTTP 499 error after 60 seconds despite config. (PHP and AWS)

The cause of the problem is the Elastic Load Balancers on AWS. They, by default, timeout after 60 seconds of inactivity which is what was causing the problem.

So it wasn't NginX, PHP-FPM or PHP but the load balancer.

To fix this, simply go into the ELB "Description" tab, scroll to the bottom, and click the "(Edit)" link beside the value that says "Idle Timeout: 60 seconds"

nginx error GET //error-404 HTTP/1.1 499 0 - -

problem solved.
I have completely re-built website and works fine...seems to be a bad/wrong php script at the origin of this issue.

thanks



Related Topics



Leave a reply



Submit