diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2017-07-20 15:51:11 +0300 |
|---|---|---|
| committer | Roman Arutyunyan <arut@nginx.com> | 2017-07-20 15:51:11 +0300 |
| commit | 129b06dc5dfab7b4513a4f274b3778cd9b8a6a22 (patch) | |
| tree | e141829554c9b7510c99a3d1e99523c39d570a3d /auto/modules | |
| parent | a87e05a3312e06f88809320eb8dc39833ea4cbc3 (diff) | |
| download | nginx-129b06dc5dfab7b4513a4f274b3778cd9b8a6a22.tar.gz nginx-129b06dc5dfab7b4513a4f274b3778cd9b8a6a22.tar.bz2 | |
Precontent phase.
The phase is added instead of the try_files phase. Unlike the old phase, the
new one supports registering multiple handlers. The try_files implementation is
moved to a separate ngx_http_try_files_module, which now registers a precontent
phase handler.
Diffstat (limited to 'auto/modules')
| -rw-r--r-- | auto/modules | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules index be3561e63..1500f8847 100644 --- a/auto/modules +++ b/auto/modules @@ -506,6 +506,17 @@ if [ $HTTP = YES ]; then . auto/module fi + if :; then + ngx_module_name=ngx_http_try_files_module + ngx_module_incs= + ngx_module_deps= + ngx_module_srcs=src/http/modules/ngx_http_try_files_module.c + ngx_module_libs= + ngx_module_link=YES + + . auto/module + fi + if [ $HTTP_AUTH_REQUEST = YES ]; then ngx_module_name=ngx_http_auth_request_module ngx_module_incs= |
