finish tag function(1. generate nginx conf; 2. check nginx conf; 3. tag vs & pool; 4. tag nginx conf)