Increase max-age to at least 31536000 seconds (1 year).
CSP contains permissive tokens ('unsafe-inline', 'unsafe-eval', or *). Tighten script-src with nonces/hashes.
MIME sniffing disabled cleanly.
Set X-Frame-Options: DENY (or SAMEORIGIN) and CSP frame-ancestors.
Add Referrer-Policy: strict-origin-when-cross-origin.
Restrict camera, microphone, geolocation via Permissions-Policy.
Remove X-Powered-By to avoid fingerprinting framework versions.
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always; add_header Content-Security-Policy "default-src 'self'; object-src 'none'; frame-ancestors 'none';" always; add_header X-Content-Type-Options "nosniff" always; add_header X-Frame-Options "DENY" always; add_header Referrer-Policy "strict-origin-when-cross-origin" always; add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;
Pin this tool to your browser side panel
Access this utility anytime with Alt+M without switching tabs. 100% offline & free.
How to Audit HTTP Response Headers
- 1Run curl -sI https://your-domain.com in your terminal and paste the response headers here.
- 2Review the 0-100 security score, letter grade, and per-header remediation advice.
- 3Copy the generated Nginx hardening header block to plug missing defenses.
Keep Internal Endpoints Private
Staging headers often reveal internal proxy topology or server versions; analyzing locally keeps infrastructure headers offline.
Frequently Asked Questions
Enjoying HTTP Security Headers Analyzer & Hardening Fixer?Help your engineering peers discover private, ad-free tools!
MiniToolDesk is 100% free and client-side. Your support keeps the web ad-free.
Related Developer Utilities
UUID / GUID v4 Generator
Generate cryptographically secure random UUID v4 identifiers in bulk
Crypto Hash Calculator
Compute SHA-256, SHA-512, SHA-1, and MD5 hashes purely client-side via Web Crypto
JWT Builder & Signer
Build, mock, and sign JSON Web Tokens with HMAC-SHA256 in browser memory
UTF-8 Safe HTTP Basic Auth Encoder & Decoder
Generate RFC 7617 Authorization: Basic headers with cURL/Fetch snippets or decode tokens locally.