Fixing config to support HTTPS