What is Nostr?
feld /
npub1yck…ujmw
2023-05-26 16:24:44
in reply to nevent1q…2w7t

feld on Nostr: If you use Varnish: sub vcl_backend_response { if (bereq.url ~ "^/proxy/") { set ...

If you use Varnish:

sub vcl_backend_response {
if (bereq.url ~ "^/proxy/") {
set beresp.http.Content-Security-Policy = "sandbox";
}
}


Also clear your MediaProxy cache, because serving the cached variant will have the old header without the CSP rule
Author Public Key
npub1yck44z5zqxmwpqzqs75ay6ffjdw843ng9p6mz0lzfff3fgz2djlsngujmw