溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Nginx編譯參數(shù)有哪些

發(fā)布時(shí)間:2021-12-13 09:53:57 來源:億速云 閱讀:93 作者:iii 欄目:建站服務(wù)器

本篇內(nèi)容主要講解“Nginx編譯參數(shù)有哪些”,感興趣的朋友不妨來看看。本文介紹的方法操作簡單快捷,實(shí)用性強(qiáng)。下面就讓小編來帶大家學(xué)習(xí)“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模塊 http://www.iis7.com/a/lm/ftp/

–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í)文件路徑

到此,相信大家對(duì)“Nginx編譯參數(shù)有哪些”有了更深的了解,不妨來實(shí)際操作一番吧!這里是億速云網(wǎng)站,更多相關(guān)內(nèi)容可以進(jìn)入相關(guān)頻道進(jìn)行查詢,關(guān)注我們,繼續(xù)學(xué)習(xí)!

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI