If you host Immich on a VPS, there are three scenarios
- You just install Immich on the VPS normally. In that case, the VPS provider (e.g. Hetzner) can access your photos. Not ideal for me.
- You use disk encryption to encrypt the whole disk at the disk level (such as https://www.accruedwisdom.com/articles/hetzner-lvm-full-disk-encryption/). Seems a bit cumbersome to be honest, and even if the link says how to do it, I'm not sure it's completely allowed by Hetzner.
- You encrypt the files at the file level, but then you break most of the Immich features.