[root@localhost nginx-1.14.1]# ./configure --help
--help 打印此消息
--prefix=PATH 设置安装前缀
--sbin-path=PATH 设置nginx二进制路径名
--modules-path=PATH 设置模块路径
--conf-path=PATH 设置nginx.conf路径名
--error-log-path=PATH 设置错误日志路径名
--pid-path=PATH 设置nginx.pid路径名
--lock-path=PATH 设置nginx.lock路径名
--user=USER 为辅助进程设置非特权用户
--group=GROUP 为辅助进程设置非特权组
--build=NAME 设置生成名称
--builddir=DIR 设置生成目录
--with-select_module 启用选择模块
--without-select_module 禁用选择模块
--with-poll_module 启用轮询模块
--without-poll_module 禁用轮询模块
--with-threads 启用线程池支持
--with-file-aio 启用文件AIO支持
--with-http_ssl_module 启用 ngx_http_ssl_module
--with-http_v2_module 启用 ngx_http_v2_module
--with-http_realip_module 启用 ngx_http_realip_module
--with-http_addition_module 启用 ngx_http_addition_module
--with-http_xslt_module 启用 ngx_http_xslt_module
--with-http_xslt_module=dynamic 启用 dynamic ngx_http_xslt_module
--with-http_image_filter_module 启用 ngx_http_image_filter_module
--with-http_image_filter_module=dynamic
启用 dynamic ngx_http_image_filter_module
--with-http_geoip_module 启用 ngx_http_geoip_module
--with-http_geoip_module=dynamic 启用 dynamic ngx_http_geoip_module
--with-http_sub_module 启用 ngx_http_sub_module
--with-http_dav_module 启用 ngx_http_dav_module
--with-http_flv_module 启用 ngx_http_flv_module
--with-http_mp4_module 启用 ngx_http_mp4_module
--with-http_gunzip_module 启用 ngx_http_gunzip_module
--with-http_gzip_static_module 启用 ngx_http_gzip_static_module
--with-http_auth_request_module 启用 ngx_http_auth_request_module
--with-http_random_index_module 启用 ngx_http_random_index_module
--with-http_secure_link_module 启用 ngx_http_secure_link_module
--with-http_degradation_module 启用 ngx_http_degradation_module
--with-http_slice_module 启用 ngx_http_slice_module
--with-http_stub_status_module 启用 ngx_http_stub_status_module
--without-http_charset_module 禁用 ngx_http_charset_module
--without-http_gzip_module 禁用 ngx_http_gzip_module
--without-http_ssi_module 禁用 ngx_http_ssi_module
--without-http_userid_module 禁用 ngx_http_userid_module
--without-http_access_module 禁用 ngx_http_access_module
--without-http_auth_basic_module 禁用 ngx_http_auth_basic_module
--without-http_mirror_module 禁用 ngx_http_mirror_module
--without-http_autoindex_module 禁用 ngx_http_autoindex_module
--without-http_geo_module 禁用 ngx_http_geo_module
--without-http_map_module 禁用 ngx_http_map_module
--without-http_split_clients_module 禁用 ngx_http_split_clients_module
--without-http_referer_module 禁用 ngx_http_referer_module
--without-http_rewrite_module 禁用 ngx_http_rewrite_module
--without-http_proxy_module 禁用 ngx_http_proxy_module
--without-http_fastcgi_module 禁用 ngx_http_fastcgi_module
--without-http_uwsgi_module 禁用 ngx_http_uwsgi_module
--without-http_scgi_module 禁用 ngx_http_scgi_module
--without-http_grpc_module 禁用 ngx_http_grpc_module
--without-http_memcached_module 禁用 ngx_http_memcached_module
--without-http_limit_conn_module 禁用 ngx_http_limit_conn_module
--without-http_limit_req_module 禁用 ngx_http_limit_req_module
--without-http_empty_gif_module 禁用 ngx_http_empty_gif_module
--without-http_browser_module 禁用 ngx_http_browser_module
--without-http_upstream_hash_module
禁用 ngx_http_upstream_hash_module
--without-http_upstream_ip_hash_module
禁用 ngx_http_upstream_ip_hash_module
--without-http_upstream_least_conn_module
禁用 ngx_http_upstream_least_conn_module
--without-http_upstream_keepalive_module
禁用 ngx_http_upstream_keepalive_module
--without-http_upstream_zone_module
禁用 ngx_http_upstream_zone_module
--with-http_perl_module 启用 ngx_http_perl_module
--with-http_perl_module=dynamic 启用 dynamic ngx_http_perl_module
--with-perl_modules_path=PATH 设置Perl模块路径
--with-perl=PATH 设置Perl二进制路径名
--http-log-path=PATH 设置http访问日志路径名
--http-client-body-temp-path=PATH 设置存储http客户端请求正文临时文件的路径
--http-proxy-temp-path=PATH 设置存储http代理临时文件的路径
--http-fastcgi-temp-path=PATH 设置用于存储http快速cgi临时文件的路径
--http-uwsgi-temp-path=PATH 设置用于存储http uwsgi临时文件的路径
--http-scgi-temp-path=PATH 设置用于存储http scgi临时文件的路径
--without-http 禁用http服务
--without-http-cache 禁用http缓存
--with-mail 启用POP 3/IMAP 4/SMTP代理模块
--with-mail=dynamic 启用动态POP 3/imap 4/SMTP代理模块
--with-mail_ssl_module 启用 ngx_mail_ssl_module
--without-mail_pop3_module 禁用 ngx_mail_pop3_module
--without-mail_imap_module 禁用 ngx_mail_imap_module
--without-mail_smtp_module 禁用 ngx_mail_smtp_module
--with-stream 启用 TCP/UDP proxy module
--with-stream=dynamic 启用 dynamic TCP/UDP proxy module
--with-stream_ssl_module 启用 ngx_stream_ssl_module
--with-stream_realip_module 启用 ngx_stream_realip_module
--with-stream_geoip_module 启用 ngx_stream_geoip_module
--with-stream_geoip_module=dynamic 启用 dynamic ngx_stream_geoip_module
--with-stream_ssl_preread_module 启用 ngx_stream_ssl_preread_module
--without-stream_limit_conn_module 禁用 ngx_stream_limit_conn_module
--without-stream_access_module 禁用 ngx_stream_access_module
--without-stream_geo_module 禁用 ngx_stream_geo_module
--without-stream_map_module 禁用 ngx_stream_map_module
--without-stream_split_clients_module
禁用 ngx_stream_split_clients_module
--without-stream_return_module 禁用 ngx_stream_return_module
--without-stream_upstream_hash_module
禁用 ngx_stream_upstream_hash_module
--without-stream_upstream_least_conn_module
禁用 ngx_stream_upstream_least_conn_module
--without-stream_upstream_zone_module
禁用 ngx_stream_upstream_zone_module
--with-google_perftools_module 启用 ngx_google_perftools_module
--with-cpp_test_module 启用 ngx_cpp_test_module
--add-module=PATH 启用外部模块
--add-dynamic-module=PATH 启用动态外部模块
--with-compat 动态模块兼容性
--with-cc=PATH 设置c编译器路径名
--with-cpp=PATH 设置c预处理器路径名
--with-cc-opt=OPTIONS 设置其他c编译器选项
--with-ld-opt=OPTIONS 设置其他链接器选项
--with-cpu-opt=CPU 为指定的CPU生成有效值:
pentium, pentiumpro, pentium3, pentium4,
athlon, opteron, sparc32, sparc64, ppc64
--without-pcre 禁用PCRE库使用
--with-pcre 强制使用PCRE库
--with-pcre=DIR 设置pcre库源的路径
--with-pcre-opt=OPTIONS 为pcre设置其他构建选项
--with-pcre-jit 使用jit编译支持构建pcre
--with-zlib=DIR 设置zlib库源的路径
--with-zlib-opt=OPTIONS 为zlib设置其他构建选项
--with-zlib-asm=CPU 使用优化的zlib汇编程序源
对于指定的CPU,有效值:pentium, pentiumpro
--with-libatomic 强制使用libatomic_ops库
--with-libatomic=DIR 设置libatomic_ops库源的路径
--with-openssl=DIR 设置OpenSSL库源的路径
--with-openssl-opt=OPTIONS 为OpenSSL设置其他构建选项
--with-debug 启用除错调试记录