balderdashy/sails — pull request #2310 by konstantinzolotarev (2014-10-14 06:29:25+00:00)
Title: sails.getBaseurl() returns a localhost URL when deployed (on Heroku) #2300

Add ability to use http in 'sails.config.proxyHost' config property and automatically add https when port is 443