comparison README @ 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 fb05a061532c
children
comparison
equal deleted inserted replaced
8:b77577b9c005 9:4385a10a836f
40 proxy_pass_request_body off; 40 proxy_pass_request_body off;
41 proxy_set_header Content-Length ""; 41 proxy_set_header Content-Length "";
42 proxy_set_header X-Original-URI $request_uri; 42 proxy_set_header X-Original-URI $request_uri;
43 } 43 }
44 44
45 Note: it is not currently possible to use proxy_cache/proxy_store (and
46 fastcgi_cache/fastcgi_store) for requests initiated by auth request
47 module.
48
45 To compile nginx with auth request module, use "--add-module <path>" option 49 To compile nginx with auth request module, use "--add-module <path>" option
46 to nginx configure. 50 to nginx configure.
47 51
48 Development of this module was sponsored by Openstat (http://www.openstat.com/). 52 Development of this module was sponsored by Openstat (http://www.openstat.com/).