Generate a sample nonce + paste-ready header and see minimal server-side patterns (Express, nginx, Apache). Client-side helper; keep nonces per-response.
Use this to sanity-check formatting. In production, generate a fresh nonce per HTTP response and inject it into both the CSP header and matching nonce attributes.
Minimum good baseline included: default-src 'self', object-src 'none', base-uri 'self', frame-ancestors 'none'.
Pick your stack and replace ${NONCE} with your per-response nonce.
Content-Security-Policy-Report-Only in staging, then enforce.