# HG changeset patch # User Maxim Dounin # Date 1269403758 -10800 # Node ID 4385a10a836fe83f25373b9b86a7b78197eb04de # Parent b77577b9c005019c1173058e35b46c91e3363a16 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. diff --git a/README b/README --- a/README +++ b/README @@ -42,6 +42,10 @@ Usage: 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 " option to nginx configure.