Analyzer::Specification::Nginx
Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object
Constants
${VAR}: an nginx variable, or an envsubst placeholder. Its braces are
not structure.
nginx also reads a modifier glued to the URI (location =/x,
location ~^/x).
{{ if }} / {{- with }} ... {{ end }} around directives in a
.tmpl / .template file.
Class methods
Whether file is what pattern (an include glob, /-separated)
names under dir. The directory is compared as text, so its own
[, { or * are not glob syntax, and only the rest goes through
File.match?. Both sides are read with / separators: on Windows a
path holds \, which File.match? takes as an escape.
Instance methods
A file included by another is read where the directive sits, with
the including block's host, TLS and access rules, and not on its own.
Files that only include each other (a cycle no other file reaches) are
still read on their own.
Locations of an ingress-nginx server-snippet, read as if written in
the server block the controller generates. first_line: the line of
path the snippet starts on.
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.