internal and error_page directives

Filipp Gunbin fgunbin at fastmail.fm
Thu Oct 16 18:28:19 UTC 2014


On 16/10/2014 22:22 +0400, Maxim Dounin wrote:

> If a location with "internal" keyword is selected for an external 
> request, the 404 error is generated.  The error is handled as 
> usual, and it's subject to error_page processing if one is 
> configured.
>
> The documentation is here:
>
> http://nginx.org/en/docs/http/ngx_http_core_module.html#internal

Thanks, of course I've read it before.

It just happened that I was erroneously thinking of "internal" as a
"reject-and-stop-processing" kind of directive.  Now I see I was wrong.
Maybe that should be stressed in the documentation to prevent the
possible confusion.

-- 
    Filipp



More information about the nginx mailing list