farcaller on Nostr: In the end it was easy. Traefik was passing down X-Forwarded-Host to a backend... ...
In the end it was easy. Traefik was passing down X-Forwarded-Host to a backend... behind the same traefik, who happily stripped off the header. I'm exhausted but auth works. Blog post tomorrow.
Published at
2024-06-27 20:57:02Event JSON
{
"id": "ed70553e9ac839feb37d87b9bb3a32722feeff462180c7a5e7d3b46d07a1c041",
"pubkey": "76290e99c4cc39c8803db2800a761c0bda875e70245a90957ad48e88a9ba6fe9",
"created_at": 1719521822,
"kind": 1,
"tags": [
[
"e",
"7f809f84db79bd78f64fa095a8d1925b5a09e3009c01dc4de848d1b44e1c07f4",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://hdev.im/users/farcaller/statuses/112690582144034975",
"activitypub"
]
],
"content": "In the end it was easy. Traefik was passing down X-Forwarded-Host to a backend... behind the same traefik, who happily stripped off the header. I'm exhausted but auth works. Blog post tomorrow.",
"sig": "18c39e9c4647895d8333dbda63a8dc50c647a717f1d0b470bc6ae7d1028a49c97a7698e1db53ffa4f926275f2365bed5e8c6935f3547a00bffdf2301ef2c4cc0"
}