欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Nginx編譯參數(shù)大全 configure參數(shù)中文詳解

 更新時(shí)間:2014年04月16日 08:37:51   作者:  
這篇文章主要介紹了Nginx編譯參數(shù)大全,Nginx configure參數(shù)中文詳解,需要的朋友可以參考下
Nginx編譯參數(shù):
./configure --help
--help 顯示本提示信息
--prefix=PATH 設(shè)定安裝目錄
--sbin-path=PATH 設(shè)定程序文件目錄
--conf-path=PATH 設(shè)定配置文件(nginx.conf)目錄
--error-log-path=PATH 設(shè)定錯(cuò)誤日志目錄
--pid-path=PATH 設(shè)定pid文件(nginx.pid)目錄
--lock-path=PATH 設(shè)定lock文件(nginx.lock)目錄
--user=USER 設(shè)定程序運(yùn)行的用戶環(huán)境(www)
--group=GROUP 設(shè)定程序運(yùn)行的組環(huán)境(www)
--builddir=DIR 設(shè)定程序編譯目錄
--with-rtsig_module 允許rtsig模塊
--with-select_module 允許select模塊(一種輪詢模式,不推薦用在高載環(huán)境)
--without-select_module 不使用select模塊
--with-poll_module 允許poll模塊(一種輪詢模式,不推薦用在高載環(huán)境)
--without-poll_module 不使用poll模塊
--with-http_ssl_module 允許ngx_http_ssl_module模塊(Apache對(duì)應(yīng):mod_ssl)
--with-http_realip_module 允許ngx_http_realip_module模塊(mod_rpaf)
--with-http_addition_module 允許ngx_http_addition_module模塊(mod_layout)
--with-http_xslt_module 允許ngx_http_xslt_module模塊
--with-http_sub_module 允許ngx_http_sub_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)
--with-http_stub_status_module 允許ngx_http_stub_status_module模塊(mod_status)
--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_autoindex_module 不使用ngx_http_autoindex_module模塊
--without-http_geo_module 不使用ngx_http_geo_module模塊
--without-http_map_module 不使用ngx_http_map_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_memcached_module 不使用ngx_http_memcached_module模塊
--without-http_limit_zone_module 不使用ngx_http_limit_zone_module模塊
--without-http_empty_gif_module 不使用ngx_http_empty_gif_module模塊
--without-http_browser_module 不使用ngx_http_browser_module模塊
--without-http_upstream_ip_hash_module 不使用ngx_http_upstream_ip_hash_module模塊
--with-http_perl_module 允許ngx_http_perl_module模塊
--with-perl_modules_path=PATH 設(shè)置perl模塊路徑
--with-perl=PATH 設(shè)置perl庫文件路徑
--http-log-path=PATH 設(shè)置access log文件路徑
--http-client-body-temp-path=PATH 設(shè)置客戶端請(qǐng)求臨時(shí)文件路徑
--http-proxy-temp-path=PATH 設(shè)置http proxy臨時(shí)文件路徑
--http-fastcgi-temp-path=PATH 設(shè)置http fastcgi臨時(shí)文件路徑
--without-http 不使用HTTP server功能
--with-mail 允許POP3/IMAP4/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-google_perftools_module 允許ngx_google_perftools_module模塊(調(diào)試用)
--with-cpp_test_module 允許ngx_cpp_test_module模塊
--add-module=PATH 允許使用外部模塊,以及路徑
--with-cc=PATH 設(shè)置C編譯器路徑
--with-cpp=PATH 設(shè)置C預(yù)處理路徑
--with-cc-opt=OPTIONS 設(shè)置C編譯器參數(shù)
--with-ld-opt=OPTIONS 設(shè)置連接文件參數(shù)
--with-cpu-opt=CPU 為指定CPU優(yōu)化,可選參數(shù)有:
          pentium, pentiumpro, pentium3, pentium4,
          athlon, opteron, sparc32, sparc64, ppc64
--without-pcre 不使用pcre庫文件
--with-pcre=DIR 設(shè)定PCRE庫路徑
--with-pcre-opt=OPTIONS 設(shè)置PCRE運(yùn)行參數(shù)
--with-md5=DIR 設(shè)定md5庫文件路徑
--with-md5-opt=OPTIONS 設(shè)置md5運(yùn)行參數(shù)
--with-md5-asm 使用md5源文件編譯
--with-sha1=DIR 設(shè)定sha1庫文件路徑
--with-sha1-opt=OPTIONS 設(shè)置sha1運(yùn)行參數(shù)
--with-sha1-asm 使用sha1源文件編譯
--with-zlib=DIR 設(shè)定zlib庫文件路徑
--with-zlib-opt=OPTIONS 設(shè)置zlib運(yùn)行參數(shù)
--with-zlib-asm=CPU 使zlib對(duì)特定的CPU進(jìn)行優(yōu)化,可選參數(shù):
          pentium, pentiumpro
--with-openssl=DIR 設(shè)定OpenSSL庫文件路徑
--with-openssl-opt=OPTIONS 設(shè)置OpenSSL運(yùn)行參數(shù)
--with-debug 允許調(diào)試日志
nginx編譯時(shí)不是功能加的越多越好,應(yīng)該盡可能少編譯模塊,不用的最好不要加入。
編譯好的nginx可通過 /usr/local/nginx/sbin/nginx -V 查看編譯時(shí)的參數(shù)(具體路徑更具實(shí)際情況而定)

相關(guān)文章

  • 高性能WEB開發(fā) nginx HTTP服務(wù)器篇

    高性能WEB開發(fā) nginx HTTP服務(wù)器篇

    新產(chǎn)品為了效果,做的比較炫,用了很多的圖片和JS,所以前端的性能是很大的問題,分篇記錄前端性能優(yōu)化的一些小經(jīng)驗(yàn)。
    2010-05-05
  • Nginx/Openresty中啟用http2支持的方法教程

    Nginx/Openresty中啟用http2支持的方法教程

    Openresty/Nginx默認(rèn)是不支持http2的,需要將http2模塊編譯進(jìn)應(yīng)用中。這篇文章主要給大家介紹了關(guān)于在Nginx/Openresty中啟用http2支持的方法教程,文中介紹的非常詳細(xì),對(duì)大家具有一的參考學(xué)習(xí)價(jià)值,需要的朋友們下面來一起看看吧。
    2017-07-07
  • 詳解基于CentOS 7配置Nginx自啟動(dòng)

    詳解基于CentOS 7配置Nginx自啟動(dòng)

    這篇文章主要介紹了詳解基于CentOS 7配置Nginx自啟動(dòng),小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧
    2018-03-03
  • CentOS6使用nginx搭建web網(wǎng)站服務(wù)的方法

    CentOS6使用nginx搭建web網(wǎng)站服務(wù)的方法

    這篇文章主要介紹了CentOS6使用nginx搭建web網(wǎng)站服務(wù)的方法,小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧
    2018-07-07
  • nginx中path模式配置示例

    nginx中path模式配置示例

    這篇文章主要介紹了nginx中path模式配置示例,nginx服務(wù)器默認(rèn)是不支持pathinfo模式的,需要修改配置才可以實(shí)現(xiàn),本文即給出了配置示例,需要的朋友可以參考下
    2014-12-12
  • nginx代理80端口不生效的解決方案

    nginx代理80端口不生效的解決方案

    如果你的 Nginx 代理配置了端口 80,并且訪問時(shí)仍然顯示默認(rèn)的 Nginx 頁面,可能有許多原因?qū)е?本文給大家介紹了產(chǎn)生的原因和解決方案,具有一定的參考價(jià)值,需要的朋友可以參考下
    2024-02-02
  • Nginx 操作響應(yīng)頭信息的實(shí)現(xiàn)

    Nginx 操作響應(yīng)頭信息的實(shí)現(xiàn)

    這篇文章主要介紹了Nginx 操作響應(yīng)頭信息的實(shí)現(xiàn),文中通過示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧
    2019-05-05
  • 詳解Nginx服務(wù)器中HTTP Headers相關(guān)的模塊配置使用

    詳解Nginx服務(wù)器中HTTP Headers相關(guān)的模塊配置使用

    這篇文章主要介紹了詳解Nginx服務(wù)器中HTTP Headers相關(guān)的模塊配置使用,包括ngx_http_headers_module與它的增強(qiáng)版ngx_headers_more的配置使用講解,需要的朋友可以參考下
    2016-01-01
  • 在阿里云Centos下如何安裝Nginx

    在阿里云Centos下如何安裝Nginx

    這篇文章主要介紹了阿里云Centos下如何安裝Nginx,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下。
    2016-10-10
  • Nginx+Tomcat的服務(wù)器端環(huán)境配置詳解

    Nginx+Tomcat的服務(wù)器端環(huán)境配置詳解

    這篇文章主要介紹了Nginx+Tomcat的服務(wù)器端環(huán)境配置詳解,包括Nginx與Tomcat的監(jiān)控開啟方法,需要的朋友可以參考下
    2015-12-12

最新評(píng)論