--with-http_perl_module enable ngx_http_perl_module #这个模块允许nginx使用SSI调用perl或直接执行perl(使用会降低性能)
--with-http_perl_module=dynamic enable dynamic ngx_http_perl_module
--with-perl_modules_path=PATH set Perl modules path #设定perl模块路径
--with-perl=PATH set perl binary pathname #设定perl库文件路径
--http-log-path=PATH set http access log pathname #设定access log路径
--http-client-body-temp-path=PATH set path to store http client request body temporary files #设定http客户端请求临时文件路径
--http-proxy-temp-path=PATH set path to store http proxy temporary files #设定http代理临时文件路径
--http-fastcgi-temp-path=PATH set path to store http fastcgi temporary files #设定http fastcgi临时文件路径
--http-uwsgi-temp-path=PATH set path to store http uwsgi temporary files #设定http uwsgi临时文件路径
--http-scgi-temp-path=PATH set path to store http scgi temporary files #设定http scgi临时文件路径
--without-http disable HTTP server #完全禁用http模块,如果只想支持mall,可以使用此项设置
--without-http-cache disable HTTP cache #在使用upstream模块时,nginx能够配置本地缓存内容,此选项可禁用缓存
--add-module=PATH enable external module #启用外部模块支持
--add-dynamic-module=PATH enable dynamic external module
#编译相关的参数
--with-cc=PATH set C compiler pathname #如果想设置一个不在默认path下的c编译器
--with-cpp=PATH set C preprocessor pathname #设置c预处理器的相对路径
--with-cc-opt=OPTIONS set additional C compiler options #设置C编译器参数
--with-ld-opt=OPTIONS set additional linker options #包含连接库的路径和运行路径
--with-cpu-opt=CPU build for the specified CPU, valid values:pentium, pentiumpro, pentium3, pentium4,athlon, opteron, sparc32, sparc64, ppc64 #指定编译的CPU
--without-pcre disable PCRE library usage #禁用pcre库
--with-pcre force PCRE library usage #启用pcre库
--with-pcre=DIR set path to PCRE library sources #指向pcre库文件目录
--with-pcre-opt=OPTIONS set additional build options for PCRE #在编译时为pcre库设置附加参数
--with-pcre-jit build PCRE with JIT compilation support
--with-md5=DIR set path to md5 library sources #指向md5库文件目录
--with-md5-opt=OPTIONS set additional build options for md5 #在编译时为md5库设置附加参数
--with-md5-asm use md5 assembler sources #使用md5汇编源
--with-sha1=DIR set path to sha1 library sources #指向sha1库目录
--with-sha1-opt=OPTIONS set additional build options for sha1 #在编译时为sha1库设置附加参数
--with-sha1-asm use sha1 assembler sources #使用sha1汇编源
--with-zlib=DIR set path to zlib library sources #指向zlib库目录
--with-zlib-opt=OPTIONS set additional build options for zlib #在编译时为zlib设置附加参数
--with-zlib-asm=CPU use zlib assembler sources optimized for the specified CPU, valid values: pentium, pentiumpro #为指定的CPU使用zlib汇编源进行优化
--with-libatomic force libatomic_ops library usage # 为原子内存的更新操作的实现提供一个架构
--with-libatomic=DIR set path to libatomic_ops library sources #指向libatomic_ops安装目录
--with-openssl=DIR set path to OpenSSL library sources #指向openssl安装目录
--with-openssl-opt=OPTIONS set additional build options for OpenSSL #在编译时为openssl设置附加参数