If you wish to replace everything with a default install, do the following commands. ***Make sure that you back up anything you want to keep from /etc/nginx or /usr/share/nginx/html***:
sudo apt-get purge nginx nginx-light nginx-full nginx-extras nginx-common sudo apt-get install nginx nginx-light nginx-common This will purge all the existing configuration files and any of the nginx flavors, and then reinstall then with defaults. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1479477 Title: package nginx-light 1.6.2-5ubuntu3.1 failed to install/upgrade - postinstallation script failed due to bad configuration directive in left over configuration files from prior installation tasks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1479477/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
