Redirect to https in JS, couldn't do in web.config because the reverse proxy bungles it.. Ideally the reverse proxy would do the redirect..! Maybe aquaassist ;)