I made a diagram to be more specific. It's not a problem if the client ask
for /data and get an older version of the file. The invalidate option in
proxy_cache is enough for me.
Here is my diagram without cache: http://imgur.com/a/soq69
Obviously, I don't want to reach the upstream server every t
I want to add some clarification. My client calls is like "/app" and the
server respond with a name. My file is stored at /var/local/data/. I
want to cache the response. So if I have another request on /app, Nginx
should respond with the cached version of the file.
Posted at Nginx Forum:
https://
Thanks for your help but there is still something I don't understand. I have
dynamic access for resources. For me, I have 3 different locations in 2
servers and your conf only contains 2. I have my location of the client
request, the location of the X-Accel-Redirect and the location where caching
h
Hi Maxim,
Can you post an example please? I don't understand how to do that.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,241734,271925#msg-271925
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx