changeset 9:4385a10a836f

Auth request: add note that proxy_cache and friends do not work. With r->header_only set upstream module will shutdown client connection in case it needs to do cache/store. Probably it's good idea to avoid setting r->header_only on auth subrequest to make cache work. On the other hand, auth subrequest then will be required to return responses with empty body in all cases, even on errors.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 24 Mar 2010 07:09:18 +0300
parents b77577b9c005
children 2b95417a1715
files README
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/README	Wed Mar 24 07:02:27 2010 +0300
+++ b/README	Wed Mar 24 07:09:18 2010 +0300
@@ -42,6 +42,10 @@
         proxy_set_header X-Original-URI $request_uri;
     }
 
+Note: it is not currently possible to use proxy_cache/proxy_store (and 
+fastcgi_cache/fastcgi_store) for requests initiated by auth request
+module.
+
 To compile nginx with auth request module, use "--add-module <path>" option
 to nginx configure.