@judahsshadow: I've used passwords, with the auth_basic module of nginx and the htpasswd utility from Apache to encrypt the password file.
I've followed this guide: https://www.digitalocean.com/community/tutorials/how-to-set-up-http-authentication-with-nginx-on-ubuntu-12-10
Stephen Sekula likes this.