Hi, you may find this overkill configuration helpful: http://publications.jbfavre.org/web/nginx-vhosts-automatiques-avec-SSL-et-authentification.en Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252553,252577#msg-252577