How to use srcache_store while proxy_pass use to connect backend

agentzh agentzh at gmail.com
Wed Mar 7 01:26:56 UTC 2012


On Tue, Mar 6, 2012 at 1:48 AM, n1xman <nginx-forum at nginx.us> wrote:
> Hi,
>
> I can't store data while I'm using proxy_pass to connect to the backend
> if we can't find data on the memcached. srcache_fetch probes the
> memcached but since no data, it connect to the backend and get the
> correct data but not executing the srcache_store.

Can you enable the debug logs in your nginx build and paste the
relevant logs here? To enable the debug logs, just re-compile your
nginx with the --with-debug configure option, and also use the "debug"
log level in your "error_log" config directive in your nginx.conf.

Also telling me the outputs of the "/path/to/your/nginx -V" command
and "uname -a" command on your side may also be helpful :)

Thanks!
-agentzh



More information about the nginx mailing list