[PATCH] Add $upstream_cache_key

Kirill A. Korinsky kirill at korins.ky
Fri May 24 09:58:15 UTC 2024


Greetings,

Here is a patch that exposes the constructed cache key as
$upstream_cache_key variable.

Sometimes it's quite useful when debugging complicated setups and fighting
some typos.

I've attached two patches:
1. from me to add that variable
2. from Maxim Dounin to update docs

-- 
wbr, Kirill

-------------- next part --------------
A non-text attachment was scrubbed...
Name: upstream_cache_key.diff
Type: application/octet-stream
Size: 2340 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20240524/469cfd75/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: docs.diff
Type: application/octet-stream
Size: 4808 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20240524/469cfd75/attachment-0001.obj>


More information about the nginx mailing list