From cc56772325866d713088558f2bb30f540e2b281d Mon Sep 17 00:00:00 2001 From: AlexaZhou Date: Mon, 15 Aug 2016 00:12:00 +0800 Subject: [PATCH] Compile nginx with with-http_v2_module --- install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.py b/install.py index dee5daa3..bfe6651a 100644 --- a/install.py +++ b/install.py @@ -48,7 +48,7 @@ def install_openresty( ): #configure && compile && install openresty print('### configure openresty ...') os.chdir( openresty_pkg.replace('.tar.gz','') ) - exec_sys_cmd( './configure --prefix=/opt/verynginx/openresty --user=nginx --group=nginx --with-http_sub_module --with-http_stub_status_module --with-luajit' ) + exec_sys_cmd( './configure --prefix=/opt/verynginx/openresty --user=nginx --group=nginx --with-http_v2_module --with-http_sub_module --with-http_stub_status_module --with-luajit' ) print('### compile openresty ...') exec_sys_cmd( 'make' )