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]

Re: nginx


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: nginx
  • From: <greyhard@xxxxxxxxx>
  • Date: Wed, 22 Jun 2011 14:50:14 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=EexMnI8/q4C8qV3A4AgyscOEgFaqUoQi/MU6I8LbKXI=; b=bK3cdkjo0Ccq9boKrNc8Iel1yaFvG5YjHF4tjgPLtE6zi2ZF9M61I5+sJl+4ntDuKQ hk6RSCRKwJXp7cXxSzg0EP0gOqihKcitjXQ3TtvYS97E+ncv42l530DIm9FM4Or1IfM/ S5KYMj9UiFAf6hZyh0Ujbz7ND73Wa9wXSFsCo=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=S9bPjj3uBq6ONvTkB4LIXLLJ+ETX1MciR9HBuBUGz1NvyTs5lIrBIsF6Owswz90WSg 176e+ua9hHuzYYOnGLQr+tTb5ATrOxryC7KdfZDQXJXK+tPaFI31eVxhkntzr2im4OM3 33KzQN1LfOOiQu19ALeEiD038qDPPjSk7Zmx8=
  • In-reply-to: <4E01C238.70206@xxxxxx>
  • References: <4E01C238.70206@xxxxxx>

, .

Nginx Reload.


22 2011. 14:21 Alexander Pyhalov <alp@xxxxxx> :
.
.
, nginx ( ) ( , ), ( , - ) ( , ). ( mtime ).
(, , ). nginx . nginx 1.0.4 . ( nginx, , memtester , , ).

:
server {
listen 80; ## listen for ipv4
server_name ...;
access_log off;
client_body_buffer_size 128k;

open_file_cache max=2048 inactive=600s;
open_file_cache_valid 2000s;
open_file_cache_min_uses 1;
## open_file_cache_errors on;

location ~ /\.(ht|svn) {
deny all;
}

location ~ \.(lib|inc|admin|handler|action|sql|log)$ {
deny all;
}

location ~ /(crons|scripts|shared)/ {
deny all;
}


location ~ \.php$ {
# limit_conn one 2;
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /path/to/www$fastcgi_script_name;
fastcgi_buffer_size 64k;
# fastcgi_buffer_size 4k;
fastcgi_buffers 32 256k;
# fastcgi_buffers 1024 4k;
if ($uri !~ "^/images/") {
# fastcgi_pass unix:/var/run/fastcgi-mhouse-pool;
fastcgi_pass mhouse_fastcgi;
}
}

location / {
root /path/to/www;
index index.php;
}
}

$ uname -a
Linux hostname.provided.here 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011 x86_64 GNU/Linux

$ nginx -V
nginx version: nginx/0.7.67
TLS SNI support enabled
configure arguments: --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --with-debug --with-http_dav_module --with-http_flv_module --with-http_geoip_module --with-http_gzip_static_module --with-http_realip_module --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-ipv6 --with-mail --with-mail_ssl_module --add-module=/build/buildd/nginx-0.7.67/modules/nginx-upstream-fair

- , ?
--
,
,
.

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

  • Follow-Ups:
  • References:

 




Copyright © Lexa Software, 1996-2009.