mirror of
https://github.com/nginx/nginx.git
synced 2024-11-24 09:50:18 -06:00
9ac946bcc9
*) Change: now the IMAP/POP3 proxy do not send the empty login to authorization server. *) Feature: the "log_format" supports the variables in the $name form. *) Bugfix: if at least in one server was no the "listen" directive, then nginx did not listen on the 80 port; the bug had appeared in 0.3.3. *) Bugfix: if the URI part is omitted in "proxy_pass" directive, the the 80 port was always used.
50 lines
793 B
Nginx Configuration File
50 lines
793 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 koi8-r;
|
|
|
|
#access_log logs/access.log;
|
|
|
|
location / {
|
|
root html;
|
|
index index.html index.htm;
|
|
}
|
|
|
|
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
|
|
#
|
|
#location ~ \.php$ {
|
|
# proxy_pass http://127.0.0.1;
|
|
#}
|
|
|
|
# deny access to .htaccess files
|
|
#
|
|
#location ~ /\.ht {
|
|
# deny all;
|
|
#}
|
|
}
|
|
}
|