Avoid loading mixed content when deploying under https