Re: How to disable fastcgi caching for the logged user?

2017-08-07 Thread Etienne Robillard
Hi Francis, Thank you for your reply. What is the difference between: fastcgi_no_cache $http_pragma $http_authorization and fastcgi_no_cache $remote_user ? In addition, how can I verify the configuration is working as expected? Thanks, E Le 2017-08-06 à 05:48, Francis Daly a écrit :

Re: How to disable fastcgi caching for the logged user?

2017-08-06 Thread Francis Daly
On Sat, Aug 05, 2017 at 03:24:28PM -0400, Etienne Robillard wrote: Hi there, > The $http_pragma is not properly defined in > http://nginx.org/en/docs/varindex.html It's the one after "$http2" and before "$https". > Is that a custom variable or is defined in nginx? $http_anything is defined in

Re: How to disable fastcgi caching for the logged user?

2017-08-05 Thread Etienne Robillard
The $http_pragma is not properly defined in http://nginx.org/en/docs/varindex.html Is that a custom variable or is defined in nginx? I was hoping of doing something like: fastcgi_no_cache $http_pragma $remote_user; What do you think? E Le 2017-08-05 à 14:42, Etienne Robillard a écrit :

How to disable fastcgi caching for the logged user?

2017-08-05 Thread Etienne Robillard
Hi, I'm testing a OAuth2 middleware on my python web app and would like to disable fastcgi caching when the fastcgi variable REMOTE_USER is set. Is there any ways of doing this from nginx? Thanks in advance, Etienne -- Etienne Robillard tkad...@yandex.com http://www.isotopesoftware.ca/