Re: Add header based on fastcgi response

2015-06-03 Thread Szépe Viktor
Thank you. Now I am proved to be a sub-rookie. Idézem/Quoting Maxim Dounin : 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 m

Re: Add header based on fastcgi response

2015-06-03 Thread Maxim Dounin
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 ar

Re: Add header based on fastcgi response

2015-06-03 Thread Szépe Viktor
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. Idézem/Quoting ryd994 : On Tue, Jun 2, 2015 at 5:04 PM Szépe Viktor wrote: Could anyone comment on this? Idéz

Re: Add header based on fastcgi response

2015-06-02 Thread ryd994
On Tue, Jun 2, 2015 at 5:04 PM Szépe Viktor wrote: Could anyone comment on this? Idézem/Quoting Szépe Viktor : > 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-

Re: Add header based on fastcgi response

2015-06-02 Thread Szépe Viktor
Could anyone comment on this? Idézem/Quoting Szépe Viktor : 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 Vi

Add header based on fastcgi response

2015-05-31 Thread Szépe Viktor
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 s...@szepe.net skype: szepe.viktor Budap