class

Analyzer::Specification::Nginx

Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object

Constants

LISTEN_RE = /^listen\b/
LISTEN_TLS_RE = /\bssl\b|\bhttp2\b/
LOCATION_RE = /^location\s+(?:(=|~\*|~|\^~)\s+)?(\S+)/
METHOD_ANY = "ANY"
METHOD_BLOCK_RE = /^if\s*\(\s*\$request_method\s*=\s*([A-Z]+)\s*\)/
SERVER_NAME_RE = /^server_name\s+([^;]+);?/

Class methods

tech_name
Source

Instance methods

analyze
Source
tech

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.

Source