7666 on Nostr: ok so i forgot you can stuff headers into location blocks and i already had separate ...
ok so i forgot you can stuff headers into location blocks and i already had separate location blocks for / and media|proxy lmao
based on
lain (npub1wah…xc8t)'s advice i made my CSP for / and media|proxy this at my edge:
https://ghostbin.lain.la/paste/xjscxcan confirm this works, checked the request headers for images and such and you can too
Published at
2023-05-26 17:15:06Event JSON
{
"id": "8327c6f3eebf9229b496f70ed1a7c787eb670569d8425113bc5b413000ad4efc",
"pubkey": "e0e3ec53c97e94954d03752ba854d796fce01f151a7648bba304627c11602eea",
"created_at": 1685121306,
"kind": 1,
"tags": [
[
"p",
"776ed1a547e2693a2c964e4824d6306a11aa364cd9c798f3e1ccd638af3d3725",
"wss://relay.mostr.pub"
],
[
"mostr",
"https://comp.lain.la/objects/66e47cf3-ebae-4ae3-8696-999ba0a6fa32"
]
],
"content": "ok so i forgot you can stuff headers into location blocks and i already had separate location blocks for / and media|proxy lmao\n\nbased on nostr:npub1wahdrf28uf5n5tykfeyzf43sdgg65djvm8re3ulpentr3teaxujs09xc8t's advice i made my CSP for / and media|proxy this at my edge:\n\nhttps://ghostbin.lain.la/paste/xjscx\n\ncan confirm this works, checked the request headers for images and such and you can too",
"sig": "13d76e82c954bf806d5bd6311181e69c2ee2da774295ac52b495912941ac35a15cefd9e7209ec34f9f86bc6982db513d607a1894e78ad0343afd7ed78ea08cde"
}