added function to download and enable nginx service
modified