0%

Openresty添加HTTP2.0支持

编译参数
openssl需要下载源码。
pcre 需要安装。[ brew install pcre ]

1
2
3
4
5
6
7
8
./configure --prefix=/usr/local/openresty\
--with-cc-opt="-I/usr/local/include"\
--with-cc-opt='-I/usr/local/Cellar/pcre/8.39/include/' \
--with-ld-opt='-L/usr/local/Cellar/pcre/8.39/lib' \
--with-openssl=/Users/lxtx/Downloads/openssl-1.0.2h \
--with-luajit \
--with-http_ssl_module \
--with-http_v2_module