Add header based on fastcgi response

Szépe Viktor viktor at szepe.net
Tue Jun 2 21:04:08 UTC 2015


Could anyone comment on this?


Idézem/Quoting Szépe Viktor <viktor at szepe.net>:

> Good morning!
>
> I'd like to add a X-Fastcgi-Cache header when there is a fastcgi  
> cache hit, when the response is stored to or retrieved from the cache.
>
>     add_header X-Fastcgi-Cache 600;
>
> Could you help me?
>
> Thank you.


Szépe Viktor
-- 
+36-20-4242498  sms at szepe.net  skype: szepe.viktor
Budapest, XX. kerület






More information about the nginx mailing list