configure for SSL and Heroku deployment