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 image hostin g




8 2010 . 16:31 Oleksandr V. Typlyns'kyi <wangsamp@xxxxxxxxx> :
Today Apr 8, 2010 at 15:52 Slava Kokorin wrote:

> location / {
> root /mnt/ssd64/img_cache;
> default_type image/jpeg;
> error_page 404 = @fetch; # Like in doc, cause "try_files $uri @fetch =403;" doesn't work
> log_not_found off;
> open_file_cache_errors off;
> }

.
http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#try_files
syntax: try_files [ ...] (uri|=)
@fetch.

.. , =403 try_files, ?
try_files $uri @fetch;


> location @fetch {
> internal;

location internal.

. - /fetch
> proxy_store on;
> proxy_store_access user:rw group:rw all:r;
>
> proxy_buffering off;

AFAIK proxy_store proxy_buffering off.

, . , .. , proxy_store prosy_store_access , proxy_buffering off.



--
WNGS-RIPE

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



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


 




Copyright © Lexa Software, 1996-2009.