Testing the waters with SB, I want to run it on my Raspberry and keep it as an offline capable PWA on my phone. To do that I read that I need to access it via https and that means I need to use certbot to set up a TLS.
I’ve no other use for Apache currently and I’m hesitant to install it just to support TLS with SB. Is there a way to set things up for local use (i.e. inside my home network, no external access needed), without using Apache or nginx?
So, I’m testing the waters and here’s what I’ve managed up to now. It’s super hacky and definitely not something I’ll keep around. I’ll document what I’ve done, maybe it’ll help someone else, maybe someone else helps me by chiming in.
I’ve started SB with the following command:
silverbullet -L0.0.0.0 .local/silverbullet/
Then, I’m starting caddy with the following command: