--pid-path=PATH 当在nginx.conf中没有使用pid指定pid文件路径时,默认为<prefix>/logs/nginx.pid
--lock-path=PATH 锁文件存放路由,如果在nginx.conf中没有指定,则默认为<prefix>/logs/nginx.lock
--user=USER 如果在Nginx.conf中没有使用user定义进程运行的属主,则默认为nobody
--group=GROUP 如果在Nginx.conf中没有使用user定义进程运行的属组,则默认为nobody
--builddir=DIR set build directory
--with-rtsig_module 使用rtsig模式
--with-select_module 使用select模式,如果当前平台没有其他有效模式,则默认编译
--without-select_module 禁止select模式
--with-poll_module 使用poll模式,如果当前平台没有其他有效模式,则默认编译
--without-poll_module 禁止poll模式
--with-file-aio enable file AIO support
--with-ipv6 开启IPV6支持
--with-debug 开启debug
以下这些模块默认没有开启,可以使用--with命令开启以下模块
--with-http_ssl_module 开启ssl模块
--with-http_realip_module 可以在后端记录客户端IP
--with-http_addition_module enable ngx_http_addition_module
--with-http_flv_module 开启flv模块
--with-http_mp4_module 开启mp4模块








