Nginx proxy_path key zone

The value I specify for the size of my key zone in the proxy_path
statement

  • is that a per-worker memory allocation or a shared memory zone? (i.e.
    if
    its 64mb and I have 32 processors, does the zone consume 64mb of main
    memory or 2gb?)

I suppose you are talking about the proxy_cache_path directive. Its docs
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path
state you are defining the size of a shared memory zone, most probably
allocated by the master process at configuration loading time and then
accessible/accessed by workers when needed.

You will be able to make a conclusion by yourself. :o)

B. R.

Great, thank you!