mirror of
https://github.com/nginx/nginx.git
synced 2024-12-02 05:29:14 -06:00
b145b067e2
*) Change: if the request header has duplicate the "Host", "Connection", "Content-Length", or "Authorization" lines, then nginx now returns the 400 error. *) Change: the "post_accept_timeout" directive was canceled. *) Feature: the "default", "af=", "bl=", "deferred", and "bind" parameters of the "listen" directive. *) Feature: the FreeBSD accept filters support. *) Feature: the Linux TCP_DEFER_ACCEPT support. *) Bugfix: the ngx_http_autoindex_module did not support the file names in UTF-8. *) Bugfix: the new log file can be rotated by the -USR1 signal only if the reconfiguration by the -HUP signal was made twice.
45 lines
665 B
Nginx Configuration File
45 lines
665 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;
|
|
#}
|
|
}
|
|
}
|