#./configure  --prefix=/opt/capione/nginx --with-cc-opt='-O2 -DNGX_LUA_ABORT_AT_PANIC -I/opt/capione/openssl/include' --with-ld-opt='-Wl,-rpath,/opt/capione/luajit/lib -L/opt/capione/openssl/lib -Wl,-rpath,/opt/capione/openssl/lib' --with-file-aio --with-http_geoip_module=dynamic --with-http_realip_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_xslt_module=dynamic --with-ipv6 --with-md5-asm --with-sha1-asm --with-stream --with-stream_ssl_module --with-threads --with-pcre-opt=-g --with-stream --without-pcre2 --with-stream_ssl_preread_module  --add-dynamic-module=/modules/nginx_ext_auth_module --add-dynamic-module=/modules/nginx_ext_access_log_module

./configure --prefix=/usr/local/openresty/nginx --with-cc-opt='-O2 -DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl/include' --with-ld-opt='-Wl,-rpath,/usr/local/openresty/luajit/lib -L/usr/local/openresty/pcre/lib -L/usr/local/openresty/openssl/lib -Wl,-rpath,/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl/lib' --with-pcre --with-compat --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_v3_module --with-http_xslt_module=dynamic --with-ipv6 --with-mail --with-mail_ssl_module --with-md5-asm --with-sha1-asm --with-stream --with-stream_ssl_module --with-threads --with-pcre-jit --with-stream --without-pcre2 --with-stream_ssl_preread_module --add-dynamic-module=/modules/nginx_ext_auth_module --add-dynamic-module=/modules/nginx_ext_access_log_module