Re: caching issues with nginx as reverse-proxy

2016-06-30 Thread Maxim Dounin
Hello! On Thu, Jun 30, 2016 at 12:02:29AM +0200, d...@whocaresabout.de wrote: > currently I am serving files with a size about 1,5G (static without dynamic > content) using a hand full of nodes and nginx in reverse proxy setup. > Caching works, ..but not as expected. During the requests nginx

Re: caching issues with nginx as reverse-proxy

2016-06-30 Thread Francis Daly
On Wed, Jun 29, 2016 at 09:00:02PM -0400, blue.outrigger wrote: Hi there, > I am using nginx as a reverse proxy and using the proxy-cache, I use the > request body as a cache key as shown below. > proxy_cache_key "$scheme$host$request_uri|$request_body";

caching issues with nginx as reverse-proxy

2016-06-29 Thread blue.outrigger
Hi, I am using nginx as a reverse proxy and using the proxy-cache, I use the request body as a cache key as shown below. location ^~ /mycachepath { proxy_passhttp://upstreamservers; proxy_buffers 8 32K; proxy_buffer_size 64K;

caching issues with nginx as reverse-proxy

2016-06-29 Thread dm
Hi community, currently I am serving files with a size about 1,5G (static without dynamic content) using a hand full of nodes and nginx in reverse proxy setup. Caching works, ..but not as expected. During the requests nginx creates a lot of temp caching files that grow up to the size of the