finish tag function(1. generate nginx conf; 2. check nginx conf; 3. tag vs & pool; 4. tag nginx conf)
bug fix
roll back while tag failed
Merge pull request #291 from leoliang/master

finish tag function