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' )