Jeff Moss on Nostr: Anyone know how to add or modify the Content Security Policy (CSP) header on ...
Anyone know how to add or modify the Content Security Policy (CSP) header on Mastodon? Something changed with the upgrade to 4.3.1 and now our .onion site images won't load due to a CSP violation.
The new CSP is auto generated, but we need to add additional servers names for our .onion services to work.
We have tried removing the (broken) CSP and re-adding the (corrected) CSP header at the nginx proxy level, but no luck so far.
Anyone know where to look?
#MastoAdmin npub1dc24kwyq59p57d63dpjr3qruh764dhmn3adh00tker63h6ugzj3qsdr625 (npub1dc2…r625)
The new CSP is auto generated, but we need to add additional servers names for our .onion services to work.
We have tried removing the (broken) CSP and re-adding the (corrected) CSP header at the nginx proxy level, but no luck so far.
Anyone know where to look?
#MastoAdmin npub1dc24kwyq59p57d63dpjr3qruh764dhmn3adh00tker63h6ugzj3qsdr625 (npub1dc2…r625)