root vovka etc nginx sites-available cat share vovka pw conf server li

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
root@vovka:/etc/nginx/sites-available# cat share.vovka.pw.conf
server {
listen 80;
server_name share.vovka.pw www.share.vovka.pw;
root /home/vovka/vovka.pw/share;
charset utf-8;
location / {
autoindex on;
types { }
default_type application/octet-stream;
}
}
root@vovka:/etc/nginx/sites-available#