Answer the question
In order to leave comments, you need to log in
The sites-available and sites-enabled folders are lost, where are they?
Good day workers. I decided to put django on vps taken from reg.ru. I took ubuntu 16.04, went in, made all the settings, installed PostgreSQL, launched gunicorn on port 8000, everything works, beauty. Then I started to configure nginx, the nginx/1.14.0 version was installed. And then I realized that the sites-available and sites-enabled folders simply do not exist (/etc/nginx). In the manuals for nginx settings, even 1.14, they write about the presence of these folders. I tried to create them, but, apparently, something is still wrong and nothing works (404 Not Found nginx/1.14.0) on the server pages. Help professionals.
Answer the question
In order to leave comments, you need to log in
See the relevant directives in nginx -V
. If there are no directories in nature, the current config can be viewed using nginx -T
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question