How do I use HTTPS (SSL) on the web server?

You don’t need another pi, you can use nginx as a reverse SSL proxy on the same pi. For more details check out the last section of my Deluge tutorial where I set up nginx to secure the torrent website.