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: restart nginx



server {
listen 192.168.0.1
server_name test.local;

access_log /var/log/nginx/test.local.log;

proxy_read_timeout 300;
client_max_body_size 200m;
image_filter_buffer 5M;

location / {
try_files $uri $uri/ /index.php;
}

location /32x45/ {
image_filter resize 32 45;
}

location ~* ^.+\.(jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|mid|midi|wav|bmp|rtf|js)$ {
root /var/www/tests.local;
access_log off;
expires 10d;
break;
}

location ~ \.php$ {
proxy_set_header Host $host;
proxy_pass http://127.0.0.1;
proxy_set_header X-Forwarded-For $remote_addr;
}
}



2011/8/3 <ne@xxxxxxxx>
On Wednesday 03 August 2011 15:02:52 wrote:
> - , .
> php , ~ .*$.
> /32x45/ ( - )

, ,
. , - ,
.

--

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

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


 




Copyright © Lexa Software, 1996-2009.