日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

nginx 服務器簡介( 四 )


--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 - 指定 perl模塊的路徑
--with-perl=PATH - 指定 perl 執(zhí)行文件的路徑
--http-log-path=PATH - Set path to the http access log
--http-client-body-temp-path=PATH - Set path to the http client request body temporary files
--http-proxy-temp-path=PATH - Set path to the http proxy temporary files
--http-fastcgi-temp-path=PATH - Set path to the http fastcgi temporary files
--without-http - 禁用 HTTP server
--with-mail - 啟用 IMAP4/POP3/SMTP 代理模塊
--with-mail_ssl_module - 啟用 ngx_mail_ssl_module
--with-cc=PATH - 指定 C編譯器的路徑
--with-cpp=PATH - 指定 C預處理器的路徑
--with-cc-opt=OPTIONS - Additional parameters which will be added to the variable CFLAGS. With the use of the system library PCRE in FreeBSD,it is necessary to indicate --with-cc-opt="-I /usr/local/include". If we are using select() and it is necessary to increase the number of file descriptors,then this also can be assigned here: --with-cc-opt="-D FD_SETSIZE=2048".
--with-ld-opt=OPTIONS - Additional parameters passed to the linker. With the use of the system library PCRE in FreeBSD,it is necessary to indicate --with-ld-opt="-L /usr/local/lib".
--with-cpu-opt=CPU - 為特定的 CPU 編譯,有效的值包括:pentium,pentiumpro,pentium3,pentium4,athlon,opteron,amd64,sparc32,sparc64,ppc64
--without-pcre - 禁止 PCRE 庫的使用 。同時也會禁止 HTTP rewrite 模塊 。在 "location" 配置指令中的正則表達式也需要 PCRE 。
--with-pcre=DIR - 指定 PCRE 庫的源代碼的路徑 。
--with-pcre-opt=OPTIONS - Set additional options for PCRE building.
--with-md5=DIR - Set path to md5 library sources.
--with-md5-opt=OPTIONS - Set additional options for md5 building.
--with-md5-asm - Use md5 assembler sources.
--with-sha1=DIR - Set path to sha1 library sources.
--with-sha1-opt=OPTIONS - Set additional options for sha1 building.
--with-sha1-asm - Use sha1 assembler sources.
--with-zlib=DIR - Set path to zlib library sources.
--with-zlib-opt=OPTIONS - Set additional options for zlib building.
--with-zlib-asm=CPU - Use zlib assembler sources optimized for specified CPU,valid values are: pentium,pentiumpro
--with-openssl=DIR - Set path to OpenSSL library sources
--with-openssl-opt=OPTIONS - Set additional options for OpenSSL building
--with-debug - 啟用調試日志
--add-module=PATH - Add in a third-party module found in directory PATH
在不同版本間,選項可能會有些許變化,請總是使用 ./configure --help 命令來檢查一下當前的選項列表 。
使用技巧
對于chroot的支持是否在計劃之中
在什么情況下使用Nginx比使用squid要好? 反之亦然 。
大體上來說nginx主要用于反向加速代理而不是像squid那樣作為常規(guī)代理服務器 。Nginx的最大優(yōu)勢在于高負載情況下內存和CPU的低消耗 。我不認為squid能給你帶來比nginx更好的性能 。
依照 [NginxImapProxyExample] 開始你的配置. 關于不同配置參數的具體信息,請查看 [NginxMailCoreModule] 頁 。
示例1: 用運行于apache上的php腳本做后端驗證
示例2: 使用運行于同一個服務器的 nginx-embedded-perl模塊作為 imap/pop代理和認證后端
某些東東不工作
(URL重寫,代理,路徑,...)
例如:如URL重寫(rewrite)不工作了或者是unix的路徑(/$PATH)的問題云云...

推薦閱讀