root@teer /etc # git log -n 1 -p -- nginx/ |tail -n 25 diff --git a/nginx/sites-available.d/default.conf b/nginx/sites-available.d/default.conf index ee059f6..55ac8ee 100644 --- a/nginx/sites-available.d/default.conf +++ b/nginx/sites-available.d/default.conf @@ -1,14 +1,14 @@ server { - listen 80 default_server; + listen localhost:80; # can't use wildcards in first server_name - server_name 10.20.3.12 192.168.200.7; + server_name localhost localhost.localdomain; location / { - root /home/teer/hasher/repo; + root /var/www/html; - autoindex on; - autoindex_exact_size on; - autoindex_localtime on; + # autoindex off; + # autoindex_exact_size on; + # autoindex_localtime off; итого при обновлении всё красиво, всё запускается, вот только сайт перестает работать. Поймал при обновлении 1.4.3 -> 1.4.4
nginx-1.4.4-alt2 -> sisyphus: * Mon Nov 25 2013 Denis Smirnov <mithraen@altlinux> 1.4.4-alt2 - use config(noreplace) for sites-available.d/default.conf (closes: #29607)
OK