Welcome! Log In Create A New Profile

Advanced

Missing /etc/nginx

Posted by Kaelung 
Missing /etc/nginx
August 12, 2014 06:22AM
Hello everybody,

I'am new here so hopping to do things correctly :)

I have a problem:
On Ubuntu server 14.04 I tried many times to install Nginx from differents ways (apt-get or make install) but whatever I am doing the /etc/nginx folder isn't created and (of course) when I try to launch Nginx I have a /etc/nginx/nginx.conf : no such file or directory...

Have you any idea of what I can do to have Nginx successfully installed?

Thank you in advance :),

ps: sorry maybe my english isn't so clear. If you have question don't hesitate!

Kaelung
Re: Missing /etc/nginx
August 12, 2014 10:22AM
The solution:

sudo apt-get purge nginx nginx-*
sudo apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall nginx

Kaelung
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready