Welcome! Log In Create A New Profile

Advanced

Re: Настройка nginx под image hosting

Oleksandr V. Typlyns'kyi
April 08, 2010 08:32AM
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.

> location @fetch {
> internal;

Именованный location и так internal.

> proxy_store on;
> proxy_store_access user:rw group:rw all:r;
>
> proxy_buffering off;

AFAIK proxy_store не сохраняет файл если proxy_buffering off.

--
WNGS-RIPE

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Настройка nginx под image hosting

grigory April 06, 2010 05:43PM

Re: Настройка nginx под image hosting

Andrey Velikoredchanin April 06, 2010 05:50PM

Re: Настройка nginx под image hosting

grigory April 06, 2010 06:15PM

Re: Настройка nginx под image hosting

grigory April 06, 2010 06:20PM

Re: Настройка nginx под image hosting

jjjx128 April 06, 2010 06:58PM

Re: Настройка nginx под image hosting

grigory April 06, 2010 10:37PM

Re: Настройка nginx под image hosting

jjjx128 April 07, 2010 04:43AM

Re: Настройка nginx под image hosting

grigory April 07, 2010 09:43AM

Re: Настройка nginx под image hosting

grigory April 07, 2010 05:36PM

Re: Настройка nginx под image hosting

grigory April 07, 2010 06:41PM

Re: Настройка nginx под image hosting

grigory April 07, 2010 10:07PM

Re: Настройка nginx под image hosting

grigory April 08, 2010 09:34AM

Re: Настройка nginx под image hosting

grigory April 08, 2010 11:14AM

Re: Настройка nginx под image hosting

grigory April 08, 2010 04:22PM

Re: Настройка nginx под image hosting

grigory April 12, 2010 11:05AM

Re: Настройка nginx под image hosting

grigory April 12, 2010 12:53PM

Re: Настройка nginx под image hosting

Ihalainen Nickolay April 06, 2010 06:50PM

Re: Настройка nginx под image hosting

squirl April 07, 2010 05:46PM

Re: Настройка nginx под image hosting

squirl April 07, 2010 07:08PM

Re: Настройка nginx под image hosting

Andrey Velikoredchanin April 08, 2010 01:30AM

Re: Настройка nginx под image hosting

Slava Kokorin April 08, 2010 07:54AM

Re: Настройка nginx под image hosting

Oleksandr V. Typlyns'kyi April 08, 2010 08:32AM

Re: Настройка nginx под image hosting

Slava Kokorin April 08, 2010 08:46AM

ngx_http_busy_lock

Илья Винокуров April 08, 2010 08:54AM

Re: ngx_http_busy_lock

Maxim Dounin April 08, 2010 09:52AM

Re: Настройка nginx под image hosting

Oleksandr V. Typlyns'kyi April 08, 2010 09:12AM

Re: Настройка nginx под image hosting

Slava Kokorin April 08, 2010 09:46AM

Re: Настройка nginx под image hosting

Oleksandr V. Typlyns'kyi April 08, 2010 10:30AM

Re: Настройка nginx под image hosting

SaveFrom.net April 07, 2010 11:34PM

Re: Настройка nginx под image hosting

Slava Kokorin April 08, 2010 09:52AM

Re: Настройка nginx под image hosting

Oleksandr V. Typlyns'kyi April 12, 2010 11:52AM

Re: Настройка nginx под image hosting

Oleksandr V. Typlyns'kyi April 12, 2010 01:12PM

Re: Настройка nginx под image hosting

grigory April 12, 2010 01:39PM

Re: Настройка nginx под image hosting

grigory April 14, 2010 10:52AM

Re: Настройка nginx под image hosting

Oleksandr V. Typlyns'kyi April 12, 2010 04:46PM

Re: Настройка nginx под image hosting

squirl April 12, 2010 04:50PM

Re: Настройка nginx под image hosting

grigory April 14, 2010 12:27PM

Re: Настройка nginx под image hosting

Slava Kokorin April 15, 2010 08:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 115
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready