nginx-0.1.26-RELEASE import
*) Change: the invalid client header lines are now ignored and logged
at the info level.
*) Change: the server name is also logged in error log.
*) Feature: the ngx_http_auth_basic_module module and the auth_basic
and auth_basic_user_file directives.
diff --git a/auto/modules b/auto/modules
index 1fe9ac8..4ab272e 100644
--- a/auto/modules
+++ b/auto/modules
@@ -104,6 +104,14 @@
HTTP_MODULES="$HTTP_MODULES $HTTP_INDEX_MODULE"
+if [ $HTTP_AUTH_BASIC = YES ]; then
+ have=NGX_HTTP_AUTH_BASIC . auto/have
+ have=NGX_CRYPT . auto/have
+ HTTP_MODULES="$HTTP_MODULES $HTTP_AUTH_BASIC_MODULE"
+ HTTP_SRCS="$HTTP_SRCS $HTTP_AUTH_BASIC_SRCS"
+ CORE_LIBS="$CORE_LIBS $CRYPT_LIB"
+fi
+
if [ $HTTP_ACCESS = YES ]; then
have=NGX_HTTP_ACCESS . auto/have
HTTP_MODULES="$HTTP_MODULES $HTTP_ACCESS_MODULE"