What is Nostr?
Jeff Moss /
npub12ts…x422
2024-10-30 08:26:59

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 Mastodon Engineering (npub1u84…s78a)
Author Public Key
npub12tscz5mexfzcp4l6a7e798a705wf4msqjp668xx6jwvwz8n2qqaqy6x422