Openresty Nginx 安装搭建
openresty安装: 1.下载openresty wget https://openresty.org/download/openresty-1.15.8.3.tar.gz 2.安装依赖包 yum -y install gcc gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel 3.编译openresty ./configure --with-http_ssl_module --with-http_iconv_module --prefix=/home/app/openresty make && make install 4.配置conf cd /home/app/openresty/nginx/conf vi nginx.conf #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type application/octet