更新时间:2022-06-23 03:24:38
wget https://openresty.org/download/openresty-1.15.8.1.tar.gz
tar -xzvf openresty-1.15.8.1
yum install pcre-devel openssl-devel gcc curl
cd openresty-1.15.8.1
./configure --prefix=/usr/local/openresty-1.15.8.1 --with-http_auth_request_module
make
make install
/usr/local/openresty-1.15.8.1/nginx/sbin/nginx -V
rm -rf /usr/local/openresty-1.15.8.1/
cd /opt/openresty-1.15.8.1
make clean