Nginx编译安装以及选项(2)

--without-http_charset_module        disable ngx_http_charset_module
  --without-http_gzip_module              disable ngx_http_gzip_module
  --without-http_ssi_module                disable ngx_http_ssi_module
  --without-http_userid_module          disable ngx_http_userid_module
  --without-http_access_module        disable ngx_http_access_module
  --without-http_auth_basic_module  disable ngx_http_auth_basic_module
  --without-http_mirror_module          disable ngx_http_mirror_module
  --without-http_autoindex_module    disable ngx_http_autoindex_module
  --without-http_geo_module            disable ngx_http_geo_module
  --without-http_map_module            disable ngx_http_map_module
  --without-http_split_clients_module disable ngx_http_split_clients_module
  --without-http_referer_module        disable ngx_http_referer_module
  --without-http_rewrite_module        disable ngx_http_rewrite_module  //重写模块默认开启
  --without-http_proxy_module          disable ngx_http_proxy_module  //代理模块默认开启
  --without-http_fastcgi_module        disable ngx_http_fastcgi_module  //配合FastCGI进程工作
  --without-http_uwsgi_module          disable ngx_http_uwsgi_module
  --without-http_scgi_module            disable ngx_http_scgi_module
  --without-http_grpc_module          disable ngx_http_grpc_module
  --without-http_memcached_module    disable ngx_http_memcached_module  //缓存模块
  --without-http_limit_conn_module  disable ngx_http_limit_conn_module
  --without-http_limit_req_module    disable ngx_http_limit_req_module
  --without-http_empty_gif_module    disable ngx_http_empty_gif_module
  --without-http_browser_module      disable ngx_http_browser_module
  --without-http_upstream_hash_module disable ngx_http_upstream_hash_module 
  --without-http_upstream_ip_hash_module disable ngx_http_upstream_ip_hash_module
  --without-http_upstream_least_conn_module  disable ngx_http_upstream_least_conn_module
  --without-http_upstream_keepalive_module  disable ngx_http_upstream_keepalive_module
  --without-http_upstream_zone_module  disable ngx_http_upstream_zone_module

--with-http_perl_module                    enable ngx_http_perl_module
  --with-http_perl_module=dynamic    enable dynamic ngx_http_perl_module
  --with-perl_modules_path=PATH      set Perl modules path
  --with-perl=PATH                              set perl binary pathname

--http-log-path=PATH              set http access log pathname
  --http-client-body-temp-path=PATH  set path to store http client request body temporary files
  --http-proxy-temp-path=PATH        set path to store http proxy temporary files
  --http-fastcgi-temp-path=PATH      set path to store http fastcgi temporary files
  --http-uwsgi-temp-path=PATH        set path to store  http uwsgi temporary files
  --http-scgi-temp-path=PATH        set path to store  http scgi temporary files

--without-http                    disable HTTP server
  --without-http-cache              disable HTTP cache

--with-mail                        enable POP3/IMAP4/SMTP proxy module
  --with-mail=dynamic                enable dynamic POP3/IMAP4/SMTP proxy module
  --with-mail_ssl_module            enable ngx_mail_ssl_module
  --without-mail_pop3_module        disable ngx_mail_pop3_module
  --without-mail_imap_module        disable ngx_mail_imap_module
  --without-mail_smtp_module        disable ngx_mail_smtp_module

--with-stream                      enable TCP/UDP proxy module
  --with-stream=dynamic              enable dynamic TCP/UDP proxy module
  --with-stream_ssl_module          enable ngx_stream_ssl_module
  --with-stream_realip_module        enable ngx_stream_realip_module
  --with-stream_geoip_module        enable ngx_stream_geoip_module
  --with-stream_geoip_module=dynamic enable dynamic ngx_stream_geoip_module
  --with-stream_ssl_preread_module  enable ngx_stream_ssl_preread_module
  --without-stream_limit_conn_module disable ngx_stream_limit_conn_module
  --without-stream_access_module    disable ngx_stream_access_module
  --without-stream_geo_module        disable ngx_stream_geo_module
  --without-stream_map_module        disable ngx_stream_map_module
  --without-stream_split_clients_module  disable ngx_stream_split_clients_module
  --without-stream_return_module    disable ngx_stream_return_module
  --without-stream_upstream_hash_module disable ngx_stream_upstream_hash_module
  --without-stream_upstream_least_conn_module  disable ngx_stream_upstream_least_conn_module
  --without-stream_upstream_zone_module  disable ngx_stream_upstream_zone_module

--with-google_perftools_module    enable ngx_google_perftools_module
  --with-cpp_test_module            enable ngx_cpp_test_module

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/6e89c527fff6399158226ac4a2aea661.html