Answer the question
In order to leave comments, you need to log in
How to restore etc/nginx config folder on Ubuntu?
I deleted the etc/nginx folder. I thought it would appear after re-installing nginx. Please tell me what needs to be done to restore it.
Answer the question
In order to leave comments, you need to log in
Try to do it:
of course, it will not restore your settings, but it should restore the default files.
dpkg --force-confmiss -i /var/cache/apt/archives/packagename_version.deb
There should be 3 packages, nginx, nginx-common, nginx-full. You may have one or two. find in general.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question