nginx 1.10.2 소스 코드 설치 설정 파라미터 참조
[root@localhost nginx-1.10.2]# ./configure --help
--help print this message
--prefix=PATH set installation prefix #Nginx , /usr/local/nginx。
--sbin-path=PATH set nginx binary pathname # nginx , PATH/sbin/nginx。
--modules-path=PATH set modules path #Perl
--conf-path=PATH set nginx.conf pathname # nginx , PATH/conf/nginx.conf。
--error-log-path=PATH set error log pathname # , PATH/logs/error.log。
--pid-path=PATH set nginx.pid pathname # master pid , var/run , PATH/logs/nginx.pid。
--lock-path=PATH set nginx.lock pathname #
--user=USER set non-privileged user for worker processes #
--group=GROUP set non-privileged group for worker processes #
--build=NAME set build name #
--builddir=DIR set build directory #
--with-select_module enable select module SELECT , configure , ,kqueue(sun os)、epoll(linux kenel 2.6+)、rtsig( )
--without-select_module disable select module select
--with-poll_module enable poll module poll ( select , select , , )
--without-poll_module disable poll module poll
--with-threads enable thread pool support
--with-file-aio enable file AIO support # freeBSD4.3+ linux2.6.22+ io
--with-ipv6 enable IPv6 support # ipv6
#
--with-http_ssl_module enable ngx_http_ssl_module # https , openssl
--with-http_v2_module enable ngx_http_v2_module # HTTP V2
--with-http_realip_module enable ngx_http_realip_module # IP , NGINX
--with-http_addition_module enable ngx_http_addition_module # , location location
--with-http_xslt_module enable ngx_http_xslt_module # , XSLT XML
--with-http_xslt_module=dynamic enable dynamic ngx_http_xslt_module
--with-http_p_w_picpath_filter_module enable ngx_http_p_w_picpath_filter_module # , ( libgd )
--with-http_p_w_picpath_filter_module=dynamic
enable dynamic ngx_http_p_w_picpath_filter_module
--with-http_geoip_module enable ngx_http_geoip_module # MaxMind GeoIP
--with-http_geoip_module=dynamic enable dynamic ngx_http_geoip_module
--with-http_sub_module enable ngx_http_sub_module # nginx
--with-http_dav_module enable ngx_http_dav_module # ,
--with-http_flv_module enable ngx_http_flv_module # FLV(flash)
--with-http_mp4_module enable ngx_http_mp4_module # H.264/AAC
--with-http_gunzip_module enable ngx_http_gunzip_module # gzip ,
--with-http_gzip_static_module enable ngx_http_gzip_static_module # Gzip “.gz” ,
--with-http_auth_request_module enable ngx_http_auth_request_module
--with-http_random_index_module enable ngx_http_random_index_module #
--with-http_secure_link_module enable ngx_http_secure_link_module # , url , ,
--with-http_degradation_module enable ngx_http_degradation_module # 204 444
--with-http_slice_module enable ngx_http_slice_module
--with-http_stub_status_module enable ngx_http_stub_status_module # nginx , RRDtool
#
--without-http_charset_module disable ngx_http_charset_module # web
--without-http_gzip_module disable ngx_http_gzip_module # -with-http_gzip_static_module
--without-http_ssi_module disable ngx_http_ssi_module # (SSI) , SSI
--without-http_userid_module disable ngx_http_userid_module # cookies
--without-http_access_module disable ngx_http_access_module # 。 / ip
--without-http_auth_basic_module disable ngx_http_auth_basic_module # http
--without-http_autoindex_module disable ngx_http_autoindex_module # , ngx_http_index_module 。
--without-http_geo_module disable ngx_http_geo_module # , IP
--without-http_map_module disable ngx_http_map_module # /
--without-http_split_clients_module disable ngx_http_split_clients_module # 。 :ip 、 、cookies
--without-http_referer_module disable ngx_http_referer_module # , Referer
--without-http_rewrite_module disable ngx_http_rewrite_module # URI,
--without-http_proxy_module disable ngx_http_proxy_module #
--without-http_fastcgi_module disable ngx_http_fastcgi_module # Nginx FastCGI , FastCGI 。
--without-http_uwsgi_module disable ngx_http_uwsgi_module # uwsgi ,uWSGI
--without-http_scgi_module disable ngx_http_scgi_module # SCGI ,SCGI CGI 。
--without-http_memcached_module disable ngx_http_memcached_module # ,
--without-http_limit_conn_module disable ngx_http_limit_conn_module # session
--without-http_limit_req_module disable ngx_http_limit_req_module # session
--without-http_empty_gif_module disable ngx_http_empty_gif_module # 1*1 GIF ,
--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 # 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 ,
--with-mail enable POP3/IMAP4/SMTP proxy module # POP3/IMAP4/SMTP ,
--with-mail=dynamic enable dynamic POP3/IMAP4/SMTP proxy module
--with-mail_ssl_module enable ngx_mail_ssl_module #SMTP SSL/TLS. HTTP SSL ,
--without-mail_pop3_module disable ngx_mail_pop3_module # mail , pop3
--without-mail_imap_module disable ngx_mail_imap_module # mail , imap
--without-mail_smtp_module disable ngx_mail_smtp_module # mail , smtp
--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
--without-stream_limit_conn_module disable ngx_stream_limit_conn_module
--without-stream_access_module disable ngx_stream_access_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
--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
--with-debug enable debug logging # debug
다음으로 전송:https://blog.51cto.com/wenzengliu/1881268
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
다양한 언어의 JSONJSON은 Javascript 표기법을 사용하여 데이터 구조를 레이아웃하는 데이터 형식입니다. 그러나 Javascript가 코드에서 이러한 구조를 나타낼 수 있는 유일한 언어는 아닙니다. 저는 일반적으로 '객체'{}...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.