Столкнулся тут с потерей конфигов, вернее сам их затер после установки ZendServer(такая бе)
Нашел такое решение (ubuntu)
To replace configuration files that have been deleted, without purging the package, you can do
To fully remove the nginx config files, you should
which will then let you reinstall it in the usual way with
Нашел такое решение (ubuntu)
To replace configuration files that have been deleted, without purging the package, you can do
Код:
sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install nginx
Код:
sudo apt-get purge nginx
Код:
sudo apt-get install nginx