summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-11-16 12:20:00 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-11-16 12:20:00 +0000
commit4985109dba935fd1d8a1bc6668322c71e5804b33 (patch)
treedc6c29b8fa743c5b111d45749f031dc299081e38 /auto
parentc05f20ec2eace8239c53f680294c9a2154b39e7d (diff)
downloadnginx-4985109dba935fd1d8a1bc6668322c71e5804b33.tar.gz
nginx-4985109dba935fd1d8a1bc6668322c71e5804b33.tar.bz2
ngx_http_degradation_module
Diffstat (limited to 'auto')
-rw-r--r--auto/modules5
-rw-r--r--auto/options3
-rw-r--r--auto/sources4
3 files changed, 12 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 146b7d7f2..57b657848 100644
--- a/auto/modules
+++ b/auto/modules
@@ -316,6 +316,11 @@ if [ $HTTP_SECURE_LINK = YES ]; then
HTTP_SRCS="$HTTP_SRCS $HTTP_SECURE_LINK_SRCS"
fi
+if [ $HTTP_DEGRADATION = YES ]; then
+ HTTP_MODULES="$HTTP_MODULES $HTTP_DEGRADATION_MODULE"
+ HTTP_SRCS="$HTTP_SRCS $HTTP_DEGRADATION_SRCS"
+fi
+
if [ $HTTP_FLV = YES ]; then
HTTP_MODULES="$HTTP_MODULES $HTTP_FLV_MODULE"
HTTP_SRCS="$HTTP_SRCS $HTTP_FLV_SRCS"
diff --git a/auto/options b/auto/options
index 6bc01cd9f..a7c33c7b1 100644
--- a/auto/options
+++ b/auto/options
@@ -85,6 +85,7 @@ HTTP_LIMIT_REQ=YES
HTTP_EMPTY_GIF=YES
HTTP_BROWSER=YES
HTTP_SECURE_LINK=NO
+HTTP_DEGRADATION=NO
HTTP_FLV=NO
HTTP_GZIP_STATIC=NO
HTTP_UPSTREAM_IP_HASH=YES
@@ -194,6 +195,7 @@ do
--with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;;
--with-http_random_index_module) HTTP_RANDOM_INDEX=YES ;;
--with-http_secure_link_module) HTTP_SECURE_LINK=YES ;;
+ --with-http_degradation_module) HTTP_DEGRADATION=YES ;;
--without-http_charset_module) HTTP_CHARSET=NO ;;
--without-http_gzip_module) HTTP_GZIP=NO ;;
@@ -322,6 +324,7 @@ cat << END
--with-http_gzip_static_module enable ngx_http_gzip_static_module
--with-http_random_index_module enable ngx_http_random_index_module
--with-http_secure_link_module enable ngx_http_secure_link_module
+ --with-http_degradation_module enable ngx_http_degradation_module
--with-http_stub_status_module enable ngx_http_stub_status_module
--without-http_charset_module disable ngx_http_charset_module
diff --git a/auto/sources b/auto/sources
index 73afc9276..69488d2f5 100644
--- a/auto/sources
+++ b/auto/sources
@@ -438,6 +438,10 @@ HTTP_SECURE_LINK_MODULE=ngx_http_secure_link_module
HTTP_SECURE_LINK_SRCS=src/http/modules/ngx_http_secure_link_module.c
+HTTP_DEGRADATION_MODULE=ngx_http_degradation_module
+HTTP_DEGRADATION_SRCS=src/http/modules/ngx_http_degradation_module.c
+
+
HTTP_FLV_MODULE=ngx_http_flv_module
HTTP_FLV_SRCS=src/http/modules/ngx_http_flv_module.c