N
N
Nick Bukovskiy2017-03-21 17:35:25
Nginx
Nick Bukovskiy, 2017-03-21 17:35:25

Missing default file in nginx files, how to fix?

After installing nginx using the puphpet configuration, I can't find the default configuration files.
There is neither in /etc/nginx/sites-available/default nor in /etc/nginx/conf.d/default
In /etc/nginx/sites-available/default there is only _.conf
I do the configuration according to the instructions www.2daygeek.com /install-lemp-nginx-mariadb-php-ph... ITEM 5

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2017-03-22
@shambler81

Eh, I don't even know. Perhaps write?
at a default that as a matter of fact only two directives differ from normal.

listen 80 default_server;
                server_name _;

Copy the site and change this crap on it. that's all, well, you yourself understand the root document.
By server_name _;will fall all unsorted

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question