Mercurial > hg > ngx_http_auth_request_module
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 +++ 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 <path>" option to nginx configure.