1.首先编译安装nginx(不多说) 2.开始安装openresty cd /usr/local/src wget https://openresty.org/download/openresty-1.11.2.2.tar.gz tar xf openresty-1.11.2.2.tar.gz cd openresty-1.11.2.2/ 编译开始 --prefix=/usr/local/nginx --sbin-path=/usr/sbin/nginx --conf-path=/usr/loc…