Skip to content

Commit

Permalink
stricter CSP on error pages
Browse files Browse the repository at this point in the history
  • Loading branch information
baszoetekouw committed Jan 30, 2025
1 parent 1f648aa commit 2320f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/lb_haproxy/templates/error_sram_down.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Content-Type: text/html
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Referrer-Policy: strict-origin-when-cross-origin
Content-Security-Policy: default-src 'self' data:; style-src 'self' 'sha256-Rio9bMedj81uZXDijmeWokDZ2AO/RwH8+hfSXMOHETA='; base-uri 'self'; frame-src 'none'; form-action 'self' https://*.{{base_domain}}; frame-ancestors 'none'; block-all-mixed-content;
Content-Security-Policy: default-src 'self'; style-src 'self' 'sha256-Rio9bMedj81uZXDijmeWokDZ2AO/RwH8+hfSXMOHETA='; img-src 'self' data:; font-src 'self' data:; base-uri 'self'; frame-src 'none'; form-action 'self' https://*.{{base_domain}}; frame-ancestors 'none'; block-all-mixed-content;
Permissions-Policy: accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), geolocation=(), gyroscope=(), keyboard-map=(), magnetometer=(), microphone=(), midi=(), navigation-override=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=(), usb=(), web-share=(), xr-spatial-tracking=(), clipboard-read=(), clipboard-write=(), gamepad=(), speaker-selection=()

<!DOCTYPE html>
Expand Down

0 comments on commit 2320f4c

Please sign in to comment.