Support for nginx and SSL