Web server security
Nginx and Apache Security Audit Fixes
These are the fixes for a web server security audit: what your TLS configuration accepts, which headers the browser receives, what the server will serve that it should not, and how much it reveals about itself.
What these fixes cover
- TLS protocol versions, cipher suites, certificate expiry and the HTTP to HTTPS redirect
- HSTS, CSP, frame protection, CORS, referrer and permissions policy, and cookie flags
- Directory listing, dotfiles, backup files, status endpoints and default welcome pages
- Worker process user, version disclosure, request limits, rate limiting and log handling
What they do not
- Your application code. A perfect header set does not fix an injection flaw behind it.
- Headers added at a CDN or WAF edge. The probe runs from loopback, so edge-added headers are invisible and report as missing.
- Routes other than the site root. Only the first server_name and the path / are examined.
How much of this is serious?
Severity of all 36 Web Server checks, as the scripts rate them.
- 8High severity22%
- 18Medium severity50%
- 10Low severity28%
6 audits, 36 checks
Grouped by the 6 audits they belong to. TLS and content exposure come first: one governs whether traffic can be read, the other whether files can be fetched that were never meant to be public.
Security Headers
HSTS, CSP, framing, MIME sniffing, referrer and permissions policy
8 fixesConfiguration Hardening
File permissions, web root ownership, request limits and modules
6 fixes2 need rootContent Exposure
Directory listing, hidden files, backups, methods and status endpoints
6 fixes2 need rootTLS Configuration
Protocol versions, cipher suites, certificates and HTTPS redirection
6 fixes1 need rootIdentification & Patching
Server inventory, version disclosure, worker privileges and pending updates
5 fixes1 need rootLogging & Monitoring
Access and error logging, log permissions, rotation and WAF presence
5 fixes2 need root
The other three platforms
Most hosts run more than one of these. The split shows how much of each platform the audit rates as high severity.
VPS & Server
The box itself - access, network, patches and permissions.
45fixes across 7 audits
13 high21 medium11 low
Database
MySQL, PostgreSQL, MongoDB and Redis - access, exposure and encryption.
37fixes across 6 audits
19 high15 medium3 low
Docker
Daemon exposure, container privileges, images, volumes and limits.
39fixes across 6 audits
13 high15 medium11 low
Web Server fix questions
Run all 36 Web Server checks, in one click
CtrlOps runs these audits over your existing SSH connection - no agents, no scripts to manage. $7/user/month after a 1 month free trial - no credit card required.
✓ Start instantly·✓ No credit card·✓ No sneaky autorenewals