code: def enable_site(site_name):
      
  
      site_available = u'/etc/nginx/sites-available/%s' % site_name
      site_enabled = u'/etc/nginx/sites-enabled/%s' % site_name
      if files.exists(site_available):
          sudo(u'ln -s -f %s %s' % (site_available, site_enabled))
          restart_service(u'nginx')
      else:
          abort(u'%s site configuration is not available' % site_name)
docs: Enable an available Nginx site.