[finish #42229829] redirecting when SSL is enabled now goes to the SSL port specified in config