enable ssl and set default publish to stage