Nicolas Martyanoff on Nostr: I just added the simplest TLS setting ever to Boulevard: add "tls redirect", and all ...
I just added the simplest TLS setting ever to Boulevard: add "tls redirect", and all HTTP requests are automatically redirected to the first TLS listener. Bonus, add "hsts true" and it will do the right thing.
If you don't think it's useful, this is a comparison with NGINX:
Published at
2025-03-23 17:06:48Event JSON
{
"id": "765033c8f2c4786d3f2c2f0338e74c7ec9b3835c6c5705d0b1b61c709b78bfb6",
"pubkey": "6d91e7b056ab18986298e04a8b278a5e070a726487fd30a599427c79db9070e9",
"created_at": 1742749608,
"kind": 1,
"tags": [
[
"imeta",
"url https://cdn.fosstodon.org/media_attachments/files/114/212/838/157/765/479/original/a990a8e302d00de9.png",
"m image/png",
"dim 2406x896",
"blurhash U01:OY%MkBxuR*WVa#t7t7WBWBazkDt7oefi"
],
[
"proxy",
"https://fosstodon.org/users/galdor/statuses/114212838357590188",
"activitypub"
]
],
"content": "I just added the simplest TLS setting ever to Boulevard: add \"tls redirect\", and all HTTP requests are automatically redirected to the first TLS listener. Bonus, add \"hsts true\" and it will do the right thing.\n\nIf you don't think it's useful, this is a comparison with NGINX:\n\nhttps://cdn.fosstodon.org/media_attachments/files/114/212/838/157/765/479/original/a990a8e302d00de9.png",
"sig": "f1e78a379264a7887d969a7ff5918fe37c6688bf30b2ede485750885b325967bc5bcdb62f3147ac86726a53ac0e1957b1999ffe40cbab42ab9738fe4c3f12b13"
}