Browse Source

fixed nginx conf already exists

bugfixes
harshadyeola 10 years ago
parent
commit
1df8e5bed5
  1. 5
      ee/cli/plugins/site_functions.py

5
ee/cli/plugins/site_functions.py

@ -39,8 +39,9 @@ def setupdomain(self, data):
ee_site_webroot = data['webroot']
# Check if nginx configuration already exists
if os.path.isfile('/etc/nginx/sites-available/{0}'.format(ee_domain_name)):
raise SiteError("nginx configuration already exists for site")
# if os.path.isfile('/etc/nginx/sites-available/{0}'
# .format(ee_domain_name)):
# raise SiteError("nginx configuration already exists for site")
Log.info(self, "Setting up NGINX configuration \t", end='')
# write nginx config for file

Loading…
Cancel
Save