FAQ

Page Discussion Edit History

ChsFaq

Revision as of 19:21, 22 September 2010 by MichaelLustfield (Talk)

(diff) 鈫 Older revision | Latest revision (diff) | Newer revision 鈫 (diff)

Contents

[edit] 甯歌闂(FAQ)

  • [#notwork 鏌愪簺涓滀笢涓嶅伐浣 (URL閲嶅啓, 浠g悊, 璺緞, ...)]
  • [#other 鏈夋病鏈夊叾瀹冪被浼肩殑Web鏈嶅姟鍣╙
  • [#chroot 瀵逛簬chroot鐨勬敮鎸佹槸鍚﹀湪璁″垝涔嬩腑?]
  • [#usecase 鍦ㄤ粈涔堟儏鍐典笅浣跨敤Nginx姣斾娇鐢╯quid瑕佸ソ?]
  • [#imapexample 鏈夋病鏈変汉鑳界粰鍑轰竴涓畬鏁寸殑.conf閰嶇疆鏂囦欢鏉ヨ缁嗙殑瑙h涓涓嬫庝箞閰嶇疆鍜屾祴璇 IMAP 妯″潡锛 鑰屼笉鍙槸鍏充簬 IMAP 鐨勫彧瑷鐗囪鍟?]
  • [#smtpexample 鎬庝箞璁㎞ginx鎴愪负浠ostfix鍋氫负鍚庣鐨凷MTP浠g悊?]
  • [#loadbalancing Nginx浣跨敤浠涔堢畻娉曟潵瀹炵幇璐熻浇鍧囪 ? 瀹冭兘瀹炵幇鍩轰簬杩炴帴鏁扮殑璐熻浇鍧囪 鍚?]
  • [#proxy_buffering 鎴戣兘鍏抽棴浠庝唬鐞嗘湇鍔″櫒鍒板悗绔湇鍔″櫒鐨勭紦瀛樺悧鎴栬呬娇鐢ㄤ笂浼犺繘搴︾壒鎬?]

Template:Anchor

[edit] 鏌愪簺涓滀笢涓嶅伐浣 (URL閲嶅啓, 浠g悊, 璺緞, ...)

渚嬪锛 濡俇RL閲嶅啓(rewrite)涓嶅伐浣滀簡鎴栬呮槸unix鐨勮矾寰(/$PATH)鐨勯棶棰樹簯浜...

璇蜂粩缁嗛槄璇 [NginxDebugging] 骞朵笖 閫愯 鏌ョ湅閿欒鏃ュ織銆
濡傛灉浣犳病鎵惧埌閿欒 鎵撹捣绮剧 璇曠潃鍒癐RC鎴栭偖浠跺垪琛ㄩ噷璇存槑涓涓嬩綘纰板埌鐨勯棶棰樸

Template:Anchor

[edit] 鏈夋病鏈夊叾瀹冪被浼肩殑Web鏈嶅姟鍣

鍏充簬鍚勮嚜鐨勪紭缂虹偣璇蜂娇鐢ㄨ嚜宸卞枩娆㈢殑鎼滅储寮曟寶鏌ユ壘  ;-)

Template:Anchor

[edit] 瀵逛簬chroot鐨勬敮鎸佹槸鍚﹀湪璁″垝涔嬩腑?

鏈変汉鐭ラ亾鍚楋紵

Template:Anchor

[edit] 鍦ㄤ粈涔堟儏鍐典笅浣跨敤Nginx姣斾娇鐢╯quid瑕佸ソ? 鍙嶄箣浜︾劧銆

澶т綋涓婃潵璇磏ginx涓昏鐢ㄤ簬鍙嶅悜鍔犻熶唬鐞嗚屼笉鏄儚squid閭f牱鍋氫负甯歌浠g悊鏈嶅姟鍣ㄣ侼ginx鐨勬渶澶т紭鍔垮湪浜庨珮璐熻浇鎯呭喌涓嬪唴瀛樺拰CPU鐨勪綆娑堣椼 鎴戜笉璁や负squid鑳界粰浣犲甫鏉ユ瘮nginx鏇村ソ鐨勬ц兘銆

Template:Anchor

[edit] 鏈夋病鏈変汉鑳界粰鍑轰竴涓畬鏁寸殑.conf閰嶇疆鏂囦欢鏉ヨ缁嗙殑瑙h涓涓嬫庝箞閰嶇疆鍜屾祴璇 IMAP 妯″潡锛 鑰屼笉鍙槸鍏充簬 IMAP 鐨勫彧瑷鐗囪鍟?

渚濈収 [NginxImapProxyExample] 寮濮嬩綘鐨勯厤缃. 鍏充簬涓嶅悓閰嶇疆鍙傛暟鐨勫叿浣撲俊鎭, 璇锋煡鐪 [NginxMailCoreModule] 椤点

绀轰緥1: 鐢ㄨ繍琛屼簬apache涓婄殑php鑴氭湰鍋氬悗绔獙璇

绀轰緥2: 浣跨敤杩愯浜庡悓涓涓湇鍔″櫒鐨 nginx-embedded-perl 妯″潡浣滀负 imap/pop浠g悊鍜岃璇佸悗绔

Template:Anchor

[edit] 鎬庝箞璁㎞ginx鎴愪负浠ostfix鍋氫负鍚庣鐨凷MTP浠g悊?

鏈変汉鐭ラ亾涓嶏紵

Template:Anchor

[edit] Nginx浣跨敤浠涔堢畻娉曟潵瀹炵幇璐熻浇鍧囪 ? 瀹冭兘瀹炵幇鍩轰簬杩炴帴鏁扮殑璐熻浇鍧囪 鍚?

鐩墠Nginx浣跨敤绠鍗曠殑杞贰绠楁硶锛屾墍浠ユ棤娉曞仛鍩烘湰閾炬帴璁℃暟鐨勮礋杞藉潎琛° 杩欎釜鍙兘浼氬湪灏嗘潵鐨勭増鏈腑鏈夋墍鏀瑰彉銆

Template:Anchor

[edit] 鎴戣兘鍏抽棴浠庝唬鐞嗘湇鍔″櫒鍒板悗绔湇鍔″櫒鐨勭紦瀛樺悧鎴栬呬娇鐢ㄤ笂浼犺繘搴︾壒鎬?

鍩轰簬 澶浜鸿闂笅闈㈢殑闂:

  • 鎴戣兘涓轰簡寰楀埌涓婁紶杩涘害鑰屽叧闂唬鐞嗙殑缂撳瓨鍚
  • 浣跨敤nginx鎴戞庝箞鎵嶈兘缁欑敤鎴锋樉绀轰笂浼犺繘搴
  • ...

鍒扮洰鍓嶄负姝 (2007-Apr-26) 杩樻病鏈夊姙娉曞叧闂埌鍚庣鏈嶅姟鍣ㄧ殑缂撳瓨.