Fix http conf which must not be updated if https only is used
Update https port also