turning on https for appdashboard, and changed nginx config to always handle http traffic on https ports correctly