最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

Nginx編譯參數(shù)大全 configure參數(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è)定錯誤日志目錄
--pid-path=PATH 設(shè)定pid文件(nginx.pid)目錄
--lock-path=PATH 設(shè)定lock文件(nginx.lock)目錄
--user=USER 設(shè)定程序運行的用戶環(huán)境(www)
--group=GROUP 設(shè)定程序運行的組環(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對應(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è)置客戶端請求臨時文件路徑
--http-proxy-temp-path=PATH 設(shè)置http proxy臨時文件路徑
--http-fastcgi-temp-path=PATH 設(shè)置http fastcgi臨時文件路徑
--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運行參數(shù)
--with-md5=DIR 設(shè)定md5庫文件路徑
--with-md5-opt=OPTIONS 設(shè)置md5運行參數(shù)
--with-md5-asm 使用md5源文件編譯
--with-sha1=DIR 設(shè)定sha1庫文件路徑
--with-sha1-opt=OPTIONS 設(shè)置sha1運行參數(shù)
--with-sha1-asm 使用sha1源文件編譯
--with-zlib=DIR 設(shè)定zlib庫文件路徑
--with-zlib-opt=OPTIONS 設(shè)置zlib運行參數(shù)
--with-zlib-asm=CPU 使zlib對特定的CPU進行優(yōu)化,可選參數(shù):
          pentium, pentiumpro
--with-openssl=DIR 設(shè)定OpenSSL庫文件路徑
--with-openssl-opt=OPTIONS 設(shè)置OpenSSL運行參數(shù)
--with-debug 允許調(diào)試日志
nginx編譯時不是功能加的越多越好,應(yīng)該盡可能少編譯模塊,不用的最好不要加入。
編譯好的nginx可通過 /usr/local/nginx/sbin/nginx -V 查看編譯時的參數(shù)(具體路徑更具實際情況而定)

相關(guān)文章

  • Nginx+Tomcat負載均衡集群安裝配置案例詳解

    Nginx+Tomcat負載均衡集群安裝配置案例詳解

    Nginx是一款非常優(yōu)秀的http服務(wù)器軟件,它能夠支持高達50000個并發(fā)連接數(shù)的相應(yīng),Nginx+Tomcat負載均衡集案列是應(yīng)用于生產(chǎn)環(huán)境的一套可靠的Web站點解決方案,對Nginx Tomcat負載均衡集群相關(guān)知識感興趣的朋友一起看看吧
    2021-10-10
  • 詳解Nginx如何處理WebSocket連接

    詳解Nginx如何處理WebSocket連接

    在當今互聯(lián)網(wǎng)的世界中,實時通信變得越來越重要,WebSocket 作為一種實現(xiàn)實時雙向通信的技術(shù),正被廣泛應(yīng)用于各種場景,而 Nginx 作為一款高性能的 Web 服務(wù)器和反向代理服務(wù)器,在處理 WebSocket 連接方面也有著出色的表現(xiàn),本文介紹了Nginx如何處理WebSocket連接
    2024-07-07
  • 使用nginx配置訪問wgcloud的方法

    使用nginx配置訪問wgcloud的方法

    這篇文章主要介紹了使用nginx配置訪問wgcloud的方法,在這里大家需要記得agent的配置文件項serverUrl的80端口也要寫上,需要的朋友可以參考下
    2021-06-06
  • nginx設(shè)置目錄白名單、ip白名單的實現(xiàn)方法

    nginx設(shè)置目錄白名單、ip白名單的實現(xiàn)方法

    今天小編就為大家分享一篇nginx設(shè)置目錄白名單、ip白名單的實現(xiàn)方法,具有很好的參考價值,希望對大家有所幫助。一起跟隨小編過來看看吧
    2019-08-08
  • Nginx反向代理與負載均衡概念理解及模塊使用

    Nginx反向代理與負載均衡概念理解及模塊使用

    這篇文章主要為大家介紹了Nginx反向代理與負載均衡概念理解及模塊說明,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進步,早日升職加薪
    2022-03-03
  • 定期刪除OpenResty/Nginx大日志文件的方法

    定期刪除OpenResty/Nginx大日志文件的方法

    這篇文章主要介紹了定期刪除OpenResty/Nginx大日志文件的方法,文中通過代碼示例給大家講解的非常詳細,對大家的學習或工作有一定的幫助,需要的朋友可以參考下
    2024-05-05
  • Ubuntu?22.04.1?LTS?編譯安裝?nginx-1.22.1的配置過程

    Ubuntu?22.04.1?LTS?編譯安裝?nginx-1.22.1的配置過程

    Ubuntu安裝Nginx有兩種方式,一種是通過命令的方式,這種方式安裝的Nginx版本低,之前漏掃掃出來Nginx版本低,需要升級所以現(xiàn)在用編譯的方式安裝版本高點的,本文介紹Ubuntu22.04.1?LTS編譯安裝nginx1.22.1的配置過程,本文給大家介紹的非常詳細,需要的朋友參考下吧
    2024-01-01
  • ubuntu中如何使用nginx監(jiān)聽80端口進行轉(zhuǎn)發(fā)

    ubuntu中如何使用nginx監(jiān)聽80端口進行轉(zhuǎn)發(fā)

    這篇文章主要介紹了ubuntu中如何使用nginx監(jiān)聽80端口進行轉(zhuǎn)發(fā)問題,具有很好的參考價值,希望對大家有所幫助,如有錯誤或未考慮完全的地方,望不吝賜教
    2024-06-06
  • nginx slice模塊的使用和源碼分析小結(jié)

    nginx slice模塊的使用和源碼分析小結(jié)

    很多請求都會去訪問一個巨大的文件,這個時候slice模塊就有了用武之地,本文主要介紹了nginx slice模塊的使用和源碼分析,具有一定的參考價值,感興趣的可以了解一下
    2024-02-02
  • Nginx+CI框架出現(xiàn)404錯誤怎么解決

    Nginx+CI框架出現(xiàn)404錯誤怎么解決

    這篇文章主要介紹了Nginx+CI出現(xiàn)404錯誤怎么解決的相關(guān)資料,需要的朋友可以參考下
    2016-03-03

最新評論

南昌市| 双牌县| 赣州市| 永川市| 江陵县| 通化市| 南宁市| 黄山市| 湖南省| 香河县| 万盛区| 洞头县| 普兰县| 德清县| 仙桃市| 雷州市| 甘谷县| 靖江市| 鄂托克旗| 九寨沟县| 基隆市| 滦平县| 马公市| 南岸区| 翁源县| 含山县| 灌阳县| 万盛区| 绥中县| 宜川县| 灵台县| 额敏县| 贞丰县| 察哈| 贵港市| 宣城市| 正蓝旗| 红原县| 博兴县| 达拉特旗| 隆回县|