SURFscz / SRAM-deploy

Deploy scripts for the SCZ
Apache License 2.0
5 stars 5 forks source link

CSP on acc/prd breaks haproxy 503 error page #546

Closed baszoetekouw closed 1 month ago

baszoetekouw commented 1 month ago

Screenshot 2024-09-19 at 12 53 00

possible solution: allow strict-dynamic CSP and add a hash to the inline styles of the page. See https://content-security-policy.com/hash/ en https://content-security-policy.com/strict-dynamic/

mrvanes commented 1 month ago

I'm not sure what the problem is, nor how to reproduce locally? When I stop SBS, haproxy shows the nice 503 on my local deploy, just like the example above?