From e388e6bb92b42aaacedcec1ab980d53475abb8cc Mon Sep 17 00:00:00 2001 From: horus_arch Date: Sun, 15 Mar 2015 00:33:09 +0100 Subject: Add ipv6 support, redis and x-rid-header module. --- .gitignore | 2 ++ Makefile | 10 ++++++++++ 2 files changed, 12 insertions(+) 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 -- cgit v1.2.3