Answer the question
In order to leave comments, you need to log in
How to make a directory in nginx?
Hello!
Created a file sudo nano /etc/nginx/conf.d/download.conf with this content
server {
listen 1.1.1.1 (IP VPS сервера для примера);
location / {
root /etc/;
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question