Репозитории ALT
S: | 1.24.0-alt3 |
5.1: | 1.0.4-alt0.M51.1 |
4.1: | 0.6.29-alt1.M41.2 |
4.0: | 0.5.38-alt0.M40.1 |
+backports: | 0.5.33-alt1.M40.1 |
3.0: | 0.1.45-alt1 |
Группа :: Система/Серверы
Пакет: nginx
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
server {
listen localhost:80;
# can't use wildcards in first server_name
server_name localhost localhost.localdomain;
location / {
root /var/www/html;
# autoindex off;
# autoindex_exact_size on;
# autoindex_localtime off;
# expires off;
# cooperate with mod_realip in apache-1.3 or mod_rpaf in apache-2.x
# proxy_redirect off;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $remote_addr;
# proxy_pass http://back.end.addr.ess:80/;
#
# NB: it's better for URI canonicalization that apache sits on :80
# (even if that's only 127.0.0.1:80)
#
# see also set_real_ip_from, real_ip_header if this nginx
# would need to cooperate with another one acting as a frontend
}
# charset on;
# source_charset koi8-r;
access_log @nginx_log@/access.log;
}