Nginx Security Posture
Nginx Security Overview
Nginx is highly performant but permissive by default. It requires explicit configuration blocks to enforce HTTPS, set security headers, and hide version information from HTTP responses.
Security Checks
Server Tokens (warn)
The 'server_tokens off;' directive should be set to hide the specific Nginx version in response headers.
Security Headers (warn)
Requires manual add_header directives for X-Frame-Options, X-Content-Type-Options, and HSTS.
Directory Listing (pass)
Autoindex is disabled by default, preventing unauthorized viewing of directory contents.
These technical checks are informational heuristics, not a guarantee of security or compliance. Passing a scan does not guarantee protection against zero-days or application logic flaws. Always conduct independent professional audits.