Re: Nginx cache file is too small

2021-04-22 Thread Maxim Dounin
Hello! On Thu, Apr 22, 2021 at 04:51:59AM -0400, kkobylyanskiy wrote: > I'm using Nginx as a reverse-proxy to cache my POST request and wrote the > following config: [...] > proxy_cache_key "$request_uri|$request_body"; [...] > client_body_buffer_size 512k; [.

Re: Nginx cache file is too small

2021-04-22 Thread kkobylyanskiy
It seems like the this error happens only if request body > 64k Posted at Nginx Forum: https://forum.nginx.org/read.php?2,291344,291347#msg-291347 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Nginx cache file is too small

2021-04-22 Thread kkobylyanskiy
Hi, I'm using Nginx as a reverse-proxy to cache my POST request and wrote the following config: http { gzip on; gzip_proxied any; gzip_types text/plain application/json; gzip_min_length 1000; proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=FLOWS:100m inactive=24h max_si