view conf/nginx.conf @ 545:0148586012ab release-0.2.1

nginx-0.2.1-RELEASE import *) Bugfix: if all backend using in load-balancing failed after one error, then nginx may got caught in an endless loop; the bug had appeared in 0.2.0.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 23 Sep 2005 14:43:49 +0000
parents e5d7d0334fdb
children 174f1e853e1e
line wrap: on
line source


#user  nobody;
worker_processes  3;

#error_log  logs/error.log;
#pid        logs/nginx.pid;


events {
    connections  1024;
}


http {
    include       conf/mime.types;
    default_type  application/octet-stream;

    sendfile        on;
    #tcp_nodelay    on;

    #keepalive_timeout  0;

    #gzip  on;

    server {
        listen  80;

        charset koi8-r;

        #access_log  logs/access.log;

        location / {
            root   html;
            index  index.html index.htm;
        }

        # deny access to .htaccess files
        #
        #location ~ /\.ht {
        #    deny  all;
        #}
    }
}