Mercurial > hg > ngx_http_auth_request_module
comparison README @ 7:fb05a061532c
Auth request: auth_request_set directive.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 19 Mar 2010 22:16:30 +0300 |
parents | cc231fa95159 |
children | 4385a10a836f |
comparison
equal
deleted
inserted
replaced
6:70f3d876b569 | 7:fb05a061532c |
---|---|
18 Default: off | 18 Default: off |
19 | 19 |
20 Switches auth request module on and sets uri which will be asked for | 20 Switches auth request module on and sets uri which will be asked for |
21 authorization. | 21 authorization. |
22 | 22 |
23 auth_request_set <variable> <value> | |
24 | |
25 Context: http, server, location | |
26 Default: none | |
27 | |
28 Set request variable to the given value after auth request completion. | |
29 Value may contain variables from auth request, e.g. $upstream_http_*. | |
30 | |
23 Usage: | 31 Usage: |
24 | 32 |
25 location /private/ { | 33 location /private/ { |
26 auth_request /auth; | 34 auth_request /auth; |
27 ... | 35 ... |