2004-10-04 10:04:06 -05:00
|
|
|
|
2004-10-21 10:34:38 -05:00
|
|
|
#user nobody;
|
2004-10-04 10:04:06 -05:00
|
|
|
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;
|
|
|
|
|
2005-02-22 08:40:13 -06:00
|
|
|
sendfile on;
|
2005-06-15 13:33:41 -05:00
|
|
|
#tcp_nodelay on;
|
2005-02-22 08:40:13 -06:00
|
|
|
|
2005-06-15 13:33:41 -05:00
|
|
|
#keepalive_timeout 0;
|
2004-10-04 10:04:06 -05:00
|
|
|
|
|
|
|
#gzip on;
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
|
|
|
|
charset on;
|
|
|
|
source_charset koi8-r;
|
|
|
|
|
|
|
|
#access_log logs/access.log;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
root html;
|
|
|
|
index index.html index.htm;
|
|
|
|
}
|
|
|
|
|
2005-01-19 07:10:56 -06:00
|
|
|
# deny access to .htaccess files
|
|
|
|
#
|
2005-07-08 09:34:20 -05:00
|
|
|
#location ~ /\.ht {
|
2005-01-19 07:10:56 -06:00
|
|
|
# deny all;
|
|
|
|
#}
|
2004-10-04 10:04:06 -05:00
|
|
|
}
|
|
|
|
}
|