./configure --sbin-path=/Users/bigstick/soft/nginx/sbin \ // 设置nginx的二进制文件路径
--conf-path=/Users/bigstick/soft/nginx/conf/nginx.conf \ // 设置nginx配置文件路径
--with-openssl=/Users/bigstick/soft/openssl \ // 设置openssl路径(*注意 :是源码的地址)
--error-log-path=/Users/bigstick/soft/nginx/logs/error.log \ // 设置错误日志(error日志)
--pid-path=/Users/bigstick/soft/nginx/logs/nginx.pid \ // 设置nginx pid 文件
--user=www \ // 设置nginx启动用户
--group=www \ // 设置nginx启动用户组
--with-http_v2_module \ // 开启http2模块,(包括https,grpc等)
--with-http_ssl_module \
--with-http_gzip_static_module \
--with-http_realip_module \
--with-http_flv_module \
--with-pcre-jit \
--prefix=/Users/bigstick/soft \
--with-http_sub_module \
--with-http_gunzip_module \
--http-log-path=/Users/bigstick/soft/nginx/logs \
--modules-path=/Users/bigstick/soft/nginx/modules