add ability to use SSL in nginx