fastcgi_intercept_errors set to on by default?

zmippie

Verified User
Joined
Apr 19, 2015
Messages
161
I've had to spend way too much time today figuring out why nginx would intercept my PHP-generated error pages with custom_error pages. Every doc I came across mentioned that this behaviour is influenced by the "fastcgi_intercept_errors" configuration directive, BUT is supposed to be set to "off" by default.

Then, at last, I found that in /etc/nginx/nginx_limits.conf, the setting was defined as follows:

Code:
fastcgi_intercept_errors on;

And I was wondering: why is CustomBuild's nginx configuration deviating from the defaults here?
 
Back
Top