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

前端 未结 5 1170
面向向阳花
面向向阳花 2020-12-02 10:42

At the end of last week I noticed a problem on one of my medium AWS instances where Nginx always returns a HTTP 499 response if a request takes more than 60 seconds. The pa

5条回答
  •  误落风尘
    2020-12-02 11:09

    I thought I would leave my two cents. First the problem is not related with php(still could be a php related, php always surprises me :P ). Thats for sure. its mainly caused of a server proxied to itself, more specifically hostname/aliases names issue, in your case it could be the load balancer is requesting nginx and nginx is calling back the load balancer and it keeps going that way.

    I have experienced a similar issue with nginx as the load balancer and apache as the webserver/proxy

提交回复
热议问题