How to install Debian on ProxmoxVE with LUKS encrypted root partition that auto-unlocks on boot

I'll show you how to create a Debian VM in ProxmoxVE, with the root partition encrypted with LUKS that automatically unlocks and mounts at boot.