Welcome! Log In Create A New Profile

Advanced

Re: proxy_store

July 04, 2011 11:58AM
Thanks. I put open_file_cache_errors off , and everything is working fine.

Regards,

Héctor

On Sat, Jul 2, 2011 at 1:21 PM, Maxim Dounin <mdounin@mdounin.ru> wrote:
> Hello!
>
> On Sat, Jul 02, 2011 at 07:10:05PM +0100, Hector Danniel Paz Trillo wrote:
>
>> I'm using proxy_store for dynamic upload of file from the backend to a
>> proxy server. For differents reasons some files are not uploaded with
>> this method, and I want to run a process in the backend to syncronize
>> the files between the servers.
>>
>> Problem is that nginx doesn't recognize the files uploaded throught
>> this process. It says the file doesn't exist and I need to restart
>> nginx and then it works.
>>
>> I understand nginx is looking at some kind of internal table to check
>> if the file has been stored and not looking directly at the location
>> of the file. Is there a way to avoid the restart? Did I get something
>> wrong?
>
> Looks like you use open_file_cache with open_file_cache_errors on.
> Just tune settings as appropriate in your setup (or switch
> open_file_cache_errors off to make sure nginx will immediately
> recognize new files).
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

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

proxy_store

hdanniel July 02, 2011 02:12PM

Re: proxy_store

Maxim Dounin July 02, 2011 02:24PM

Re: proxy_store

hdanniel July 04, 2011 11:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 178
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready