How to disable fastcgi caching for the logged user?

Etienne Robillard tkadm30 at
Sat Aug 5 19:24:28 UTC 2017

The $http_pragma is not properly defined in

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?


Le 2017-08-05 à 14:42, Etienne Robillard a écrit :
> 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
tkadm30 at

More information about the nginx mailing list