Configure nginx as an HTTPS server