comparison auto/modules @ 7071:cce6936ed2f4

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.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 20 Jul 2017 15:51:11 +0300
parents 4d874b4d82ed
children 0bb747b2d7cb
comparison
equal deleted inserted replaced
7070:f583559aadc7 7071:cce6936ed2f4
504 ngx_module_link=$HTTP_RANDOM_INDEX 504 ngx_module_link=$HTTP_RANDOM_INDEX
505 505
506 . auto/module 506 . auto/module
507 fi 507 fi
508 508
509 if :; then
510 ngx_module_name=ngx_http_try_files_module
511 ngx_module_incs=
512 ngx_module_deps=
513 ngx_module_srcs=src/http/modules/ngx_http_try_files_module.c
514 ngx_module_libs=
515 ngx_module_link=YES
516
517 . auto/module
518 fi
519
509 if [ $HTTP_AUTH_REQUEST = YES ]; then 520 if [ $HTTP_AUTH_REQUEST = YES ]; then
510 ngx_module_name=ngx_http_auth_request_module 521 ngx_module_name=ngx_http_auth_request_module
511 ngx_module_incs= 522 ngx_module_incs=
512 ngx_module_deps= 523 ngx_module_deps=
513 ngx_module_srcs=src/http/modules/ngx_http_auth_request_module.c 524 ngx_module_srcs=src/http/modules/ngx_http_auth_request_module.c