r/Trilium • • 13h ago

Locking Trilium down

8 Upvotes

I just found Trilium last night and I'm sold. I'm moving to this. I've set it up in a server and put it behind SSO. I also put Cloudflare Access in front of it, but now I can't get the desktop app to work.

It looks like the path to get this working is excluding /api/setup/*, /api/login/sync, and /api/sync/* from Access, which I'm reluctant to do. Trillium's docs seem to support that Trillium's setup is sound enough and that I should not need Access.

How are you guys setting up and securing setups in servers that can be reached through the Internet?