We don't explicitly set the proxy_cache_key - we use the default value
provided by NGINX.
>From the docs at
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_key I
understood that the query string is part of the cache key - I'm reaching out
for help because it doesn't work as I'
We've recently started delivering image urls with query strings for
cropping, like
http://images-camping.info/CampsiteImages/116914_Large.jpg?width=453&height=302&mode=crop
We've also successfully been using the NGINX cache for our images *before*
adding the query strings.
Unfortunately, with th
Thanks a lot, Jader. Your hint saved me hours of additional headache after
our site was almost unusable due to NGINX throwing tens of thousands of "24:
Too many open files" errors.
I chose to set *worker_rlimit_nofile* to 65536 = 2^16 for peace of mind :-)
It's important to note, that the *worker
I'm facing the same problem here, but I found much lower settings on our
machine (a VPS running Ubuntu 12.04):
# the hard limit of open files
www-data@215247:~$ ulimit -Hn
4096
# the soft limit of open files
www-data@215247:~$ ulimit -Sn
1024
# maximum number of file descriptors enforced on a kern