info
NGX_INCLUDE_UNKNOWNincludeL8:3include not loaded
include contents are unknown unless pasted into the editor. Missing on-disk files are not invented as errors.
main/http/include
mime.types
Not a regex-only validator: tokenizer, AST and nginx semantics. Data never leaves the client.
Loading…
NGX_INCLUDE_UNKNOWNincludeL8:3include contents are unknown unless pasted into the editor. Missing on-disk files are not invented as errors.
main/http/include
mime.types
NGX_PROXY_PASS_URI_REPLACEproxy_passL28:7When proxy_pass includes a URI (including a trailing “/”), nginx replaces the matched location prefix with that URI. Check trailing slashes.
main/http/server#1/location /api/
location /api/ → http://api_backend/
To keep the original request URI, use proxy_pass without a path: http://upstream;
# keep original URI: proxy_pass http://upstream; # URI replacement (trailing slash matters): # proxy_pass http://upstream/;
NGX_LOCATION_PRECEDENCElocationL23Match order: exact (=) → longest prefix with ^~ → regex (~/~*) in appearance order → longest prefix. Regex is not “longer” than prefix.
main/http/server#1
= /health | /api/ | / | @fallback