Commits

Mikhail Korobov  committed 0721ce0

Remove content of ports.conf because apache is binded to port 80 by default in this file

  • Participants
  • Parent commits 7c99849

Comments (0)

Files changed (1)

File fab_deploy/deploy.py

         run('ln -s /etc/nginx/sites-available/%s /etc/nginx/sites-enabled/%s' % (name, name))
         run('rm /etc/nginx/sites-enabled/default')
         run('rm /etc/apache2/sites-enabled/default')
+        run("echo '' > /etc/apache2/ports.conf")
     run('a2ensite %s' % name)
     setup_locale()
     run('/etc/init.d/nginx restart')