mirror of
https://github.com/nginx/nginx.git
synced 2024-12-28 09:51:04 -06:00
d039a2e193
*) Bugfix: the ngx_http_stub_status_module showed incorrect statistics if "rtsig" method was used or if several worker process ran on SMP. *) Bugfix: nginx could not be built by the icc compiler on Linux or if the zlib-1.2.x library was building from sources. *) Bugfix: nginx could not be built on NetBSD 2.0.
45 lines
666 B
Nginx Configuration File
45 lines
666 B
Nginx Configuration File
|
|
#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 on;
|
|
source_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;
|
|
#}
|
|
}
|
|
}
|