Nginx 中 502 和 504 錯誤詳解

在使用Nginx時,經常會碰到 502 Bad Gateway 和 504 Gateway Time-out 錯誤,下面以 Nginx+PHP-FPM 來分析下這兩種常見錯誤的原因和解決方案。 502 Bad Gateway 錯誤 在 php.ini 和 php-fpm.conf 中分別有這樣兩個配置項:max_execution_time 和 request_terminate_timeout。
相關文章
相關標籤/搜索