HTTP directives
internal directive (HTTP)
HTTP core; location context; no default directive. Permits internally processed requests to this location and rejects direct external requests with 404. Not a substitute for application authorization.
Formal Syntax & Structure
nginx syntaxnginx
internal;Working Example
Example Snippetnginx
location = /errors/404.html { internal; }