summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhorus_arch2015-03-15 00:33:09 +0100
committerhorus_arch2015-03-15 00:33:09 +0100
commite388e6bb92b42aaacedcec1ab980d53475abb8cc (patch)
tree36a57620470c2fbdf9980943968fb877b6b2159b
parent8e73021e4b45ba36fec9ee94602c2ed6c40d4045 (diff)
downloadnginx-build-e388e6bb92b42aaacedcec1ab980d53475abb8cc.tar.gz
Add ipv6 support, redis and x-rid-header module.
-rw-r--r--.gitignore2
-rw-r--r--Makefile10
2 files changed, 12 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index cdd8ddc..4d92479 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
nginx-*/
+*.gz
+*.asc
diff --git a/Makefile b/Makefile
index 6d52dc5..6226568 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,8 @@ fetch_dep:
cd $(BUILD_DIR) && git clone https://github.com/pagespeed/ngx_pagespeed.git
cd $(BUILD_DIR) && git clone https://github.com/alibaba/nginx-http-concat/
cd $(BUILD_DIR) && git clone https://github.com/zebrafishlabs/nginx-statsd
+ cd $(BUILD_DIR) && git clone https://github.com/newobj/nginx-x-rid-header
+ cd $(BUILD_DIR) && git clone https://github.com/openresty/redis2-nginx-module
mkdir $(BUILD_DIR)/nginx-syslog && wget -O $(BUILD_DIR)/nginx-syslog/config https://raw.githubusercontent.com/gplessis/dotdeb-nginx/wheezy/debian/modules/nginx-syslog/config
build:
cd $(BUILD_DIR) && ./configure \
@@ -45,6 +47,7 @@ build:
--http-log-path=/var/log/nginx/access.log \
--user=www-data \
--group=www-data \
+ --with-ipv6 \
--with-pcre-jit \
--with-http_ssl_module \
--with-http_stub_status_module \
@@ -52,6 +55,7 @@ build:
--with-http_auth_request_module \
--with-http_gzip_static_module \
--with-http_mp4_module \
+ --with-http_flv_module \
--with-http_secure_link_module \
--with-http_spdy_module \
--with-http_sub_module \
@@ -74,9 +78,15 @@ build:
--add-module=ngx_http_substitutions_filter_module \
--add-module=./ngx_pagespeed \
--add-module=./nginx-http-concat \
+ --add-module=./nginx-x-rid-header \
+ --with-ld-opt=-lossp-uuid \
+ --add-module=./redis2-nginx-module \
--add-module=./nginx-statsd
cd $(BUILD_DIR)/auto && make
+install:
+ cd $(BUILD_DIR)/auto && make install
+
clean:
rm nginx-$(NGX_VERSION).tar.gz
rm nginx-$(NGX_VERSION).tar.gz.asc