Add header based on fastcgi response

Maxim Dounin mdounin at mdounin.ru
Wed Jun 3 14:10:42 UTC 2015


Hello!

On Wed, Jun 03, 2015 at 03:11:11PM +0200, Szépe Viktor wrote:

> >Does $upstream_cache_status does the work?
> >
> >Disclaimer: I'm a newbie. Please correct me if I'm wrong.
> 
> Thanks. I don't use the http_upstream module.
> It is a basic PHP-FPM setup.

As long as you use fastcgi, you are using upstream module, as 
fastcgi module uses upstream module internally (much like proxy, 
uwsgi, scgi and memcached).

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list