mirror of
https://github.com/nginx/nginx.git
synced 2024-12-27 17:31:35 -06:00
c0edbcce58
*) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS options in configure. *) Feature: the server_name directive supports *.domain.tld. *) Bugfix: the portability improvements. *) Bugfix: if configuration file was set in command line, the reconfiguration was impossible; the bug had appeared in 0.1.1. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. *) Bugfix: with sendfile the response was not recoded according to the charset module directives; the bug had appeared in 0.1.1. *) Bugfix: very seldom bug in the kqueue processing. *) Bugfix: the gzip module compressed the proxied responses that was already compressed.
38 lines
495 B
Nginx Configuration File
38 lines
495 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;
|
|
|
|
#gzip on;
|
|
|
|
server {
|
|
listen 80;
|
|
|
|
charset on;
|
|
source_charset koi8-r;
|
|
|
|
#access_log logs/access.log;
|
|
|
|
location / {
|
|
root html;
|
|
index index.html index.htm;
|
|
}
|
|
|
|
}
|
|
|
|
}
|