Question about $upstream_cache_status
Maxim Dounin
mdounin at mdounin.ru
Tue Apr 25 16:25:02 UTC 2017
Hello!
On Tue, Apr 25, 2017 at 06:01:11PM +0200, rainer at ultra-secure.de wrote:
> am I right that $upstream_cache_status primarily concerns nginx' own
> upstreams like fastcgi, uwsgi etc?
Yes.
> Or is there a possibility to display whether an upstream varnish has had
> the page cached?
To obtain additional information from upstream servers you can use
HTTP headers. Headers as received from an upstream server are
available as $upstream_http_* variables, see docs here:
http://nginx.org/r/$upstream_http_
--
Maxim Dounin
http://nginx.org/
More information about the nginx
mailing list