一部分模块是默认就会编译的,一部分是不会编译的,对于默认编译的,如果不想使用,可以使用without,对于默认不编译的,如果想使用,就用with. 官方文档中是这样描述select_module的 --with-select_module --without-select_module — enables or disables building a module that allows the server to work with the se...
--with-select_module 启用select模块支持,一种轮询处理方式,不推荐在高并发环境中使用,禁用:--without-select_module。 --with-poll_module 启用poll模块支持,功能与select相同,不推荐在高并发环境中使用。 --with-threads 启用thread pool支持。 --with-file-aio 启用file aio支持。 --with-http_ssl_module 启...
--with-select_module 启用select模块支持(一种轮询模式,不推荐在高载环境下使用)禁用:--without-select_module --without-select_module 禁用:--without-select_module --with-poll_module 启用poll模块支持(功能与select相同,与select特性相同,为一种轮询模式,不推荐在高载环境下使用) --without-poll_module 禁用...
--with-http_dav_module 允许ngx_http_dav_module模块(mod_dav) --with-http_flv_module 允许ngx_http_flv_module模块(mod_flvx) --with-http_gzip_static_module 允许ngx_http_gzip_static_module模块(mod_dflate) --with-http_random_index_module 允许ngx_http_random_index_module模块(mod_autoindex) -...
select– 标准方法。 如果当前平台没有更有效的方法,它是编译时默认的方法。你可以使用配置参数 –with-select_module 和–without-select_module 来启用或禁用这个模块。 poll– 标准方法。 如果当前平台没有更有效的方法,它是编译时默认的方法。你可以使用配置参数 –with-poll_module 和–without-poll_module 来...
--with-select_module 和 --without-select_module 启用或禁用构建允许服务器使用该select()方法的模块。如果平台似乎不支持kqueue,epoll或/ dev / poll等更合适的方法,则会自动构建此模块。 --with-poll_module 和 --without-poll_module 启用或禁用构建允许服务器使用该poll()方法的模块。如果平台似乎不支持kque...
-- with - select_module 、 -- without - select_module 、--with - poll_module 、 -- without - poll_module 来设置是否需要将对应的事件驱动模块编译到Nginx 的内核; events 指令配置实例 events { accept_mutex on; multi_accept on; worker_commections 1024; use epoll; } http块 http模块是nginx...
--with-select_module(--without-select_module) #允许或不允许开启POLL模式,如果没有合适的,则开启该模式。 --with-poll_module(--without-poll_module) #开启HTTP SSL模块,使NGINX可以支持HTTPS请求。这个模块需要已经安装了OPENSSL,在DEBIAN上是libssl-dev ...
--user=USER 指定程序运行时的非特权用户 --group=GROUP 指定程序运行时的非特权用户组 --builddir=DIR 指向编译目录 --with-select_module 启用select模块支持(一种轮询模式,不推荐在高载环境下使用)禁用:--without-select_module --without-select_module 禁用:--without-select_module --with-poll_module ...
--with-select_module --without-select_module - Whether or not to enable the select module. This module is enabled by default if a more suitable method such as kqueue, epoll, rtsig or /dev/poll is not discovered by configure. //允许或不允许开启SELECT模式,如果 configure 没有找到更合适的模...