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
Why Does File_Get_Contents Work with Google.Com But Not with My Site
How to Use Perl Libraries from PHP
Mysqli - Fetch_Array Error Call to a Member Function Fetch_Array() on a Non-Object MySQLi
Azure Active Directory Sso with Laravel
Random Float Between 0 and 1 in PHP
When and Where Should I Use Session_Start
Distance Calculations in MySQL Queries
Checking If 2 Arrays Have at Least 1 Equal Value
Parse Math Operations with PHP
Storing Time Information: Timezone Required
Populate Select Drop Down from a Database Table
How to Convert PHP Regex to JavaScript Regex
PHP Date Time Greater Than Today