How to send proxy cache status to backend server?

Maxim Dounin mdounin at
Fri Mar 14 15:41:42 UTC 2014


On Fri, Mar 14, 2014 at 07:35:52PM +0530, Makailol Charls wrote:

> Hello,
> I have been using proxy cache of Nginx. It provides response header to
> indicate cache status. Is there some way to forward the cache status (in
> case of miss, expired or revalidate ) to backend upstream server?

The proxy_set_header directive should work, see

Maxim Dounin

More information about the nginx mailing list