Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nginx 0.7.62 Solaris 10


  • To: nginx-ru@xxxxxxxxx
  • Subject: nginx 0.7.62 Solaris 10
  • From: <dmitry.leonenko@xxxxxxxxx>
  • Date: Mon, 26 Oct 2009 00:04:51 +0100
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=buE/UpH+YUjNcOG2d3zNPoGnPMbBwgcAykfaW0KwWuc=; b=EJi9B30DqpgFstIu+7fXsP1QDsHb2S5SO/KdY+yasI6O4mePBlnBQY5GbnaNKiF/4o irenmkt79aLwbs79FxzgCK+CLXDvM4OOvdOZx0dKsCY547JP21ujAxbWfvSdmSfboelA 5mlH/IrYlLszNs8ZjD0nehXJ2/g7TxOKQ9AD8=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=br4EdyEidjUB9lB20IejubkXFZ015BKVzlnIH/cxs/Ow3+TEnCTZI3s3/1P7yX53UU 20cSXyOF4A0OLkCi9ys4K3rMUH3lrnDK1ze7fi9FZhxY+F7b8wwNl8TiYnpEH7u0ciPb f0RBSTS2tM640lKvxGU3hZmKnN/08LW4W1r4Q=

.
, nginx 10 - . .
nginx', , .

# uname -a
SunOS wizardfox 5.10 NexentaOS_20090926 i86pc i386 i86pc Solaris

# cat /etc/nginx/nginx.conf
user www-data;
worker_processes 3;

error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;

events {
worker_connections 1024;
multi_accept on;
use eventport;
}

http {
include /etc/nginx/mime.types;

access_log /var/log/nginx/access.log;

#sendfile on;
tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;
#tcp_nodelay on;

gzip off;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
limit_zone one $binary_remote_addr 10m;

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}


# cat /etc/nginx/sites-enabled/wizardfox
server {
listen 213.248.59.111:80;
index index.php;
server_name .wizardfox.net .satinfo.tv;
error_log /var/log/nginx/www.wizardfox.net-error_log error;
root /var/www/wizardfox.net;

location /unavaliable.html {
root /var/www/wizardfox.net;
expires 30d;
access_log /var/log/nginx/wizardfox-503.log;
}

location ~* ^.+\.(jpg|jpeg|gif|png|rar|ico|txt|jar|jad|rar|exe|zip|tif|doc|bz2|gz|tbz|tgz|css|js)$ {
root /var/www/wizardfox.net;
expires 30d;
}

location / {
proxy_pass http://127.0.0.1;
proxy_redirect off;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
limit_conn one 4;
error_page 503 /unavaliable.html;
access_log /var/log/nginx/wizardfox-apache.access.log;
}

}


, ?
, - , .
P.S. , ;)


 




Copyright © Lexa Software, 1996-2009.