Y
Y
yankoyski2019-03-26 21:21:56
Nginx
yankoyski, 2019-03-26 21:21:56

The sites-available and sites-enabled directories are missing. Are they needed at all and how to put them?

Version 1.14.2.
$: /etc/nginx ls
conf.d koi-utf mime.types nginx.conf uwsgi_params
fastcgi_params koi-win modules scgi_params win-utf
$: /etc/nginx/conf.d ls
default.conf

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Gavrilov, 2019-03-26
@thexaver

You throw the config into conf.d with the name .conf, restart nginx and everything works

K
ky0, 2019-03-27
@ky0

Look at the includes in nginx.conf- configs can be placed in any directory that is in the corresponding directive.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question