summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
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