ChsFaq
甯歌闂(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 鎴戣兘鍏抽棴浠庝唬鐞嗘湇鍔″櫒鍒板悗绔湇鍔″櫒鐨勭紦瀛樺悧鎴栬呬娇鐢ㄤ笂浼犺繘搴︾壒鎬?]
鏌愪簺涓滀笢涓嶅伐浣 (URL閲嶅啓, 浠g悊, 璺緞, ...)
渚嬪锛 濡俇RL閲嶅啓(rewrite)涓嶅伐浣滀簡鎴栬呮槸unix鐨勮矾寰(/$PATH)鐨勯棶棰樹簯浜...
璇蜂粩缁嗛槄璇 [NginxDebugging] 骞朵笖 閫愯 鏌ョ湅閿欒鏃ュ織銆
濡傛灉浣犳病鎵惧埌閿欒 鎵撹捣绮剧 璇曠潃鍒癐RC鎴栭偖浠跺垪琛ㄩ噷璇存槑涓涓嬩綘纰板埌鐨勯棶棰樸
鏈夋病鏈夊叾瀹冪被浼肩殑Web鏈嶅姟鍣
鍏充簬鍚勮嚜鐨勪紭缂虹偣璇蜂娇鐢ㄨ嚜宸卞枩娆㈢殑鎼滅储寮曟寶鏌ユ壘 ;-)
瀵逛簬chroot鐨勬敮鎸佹槸鍚﹀湪璁″垝涔嬩腑?
鏈変汉鐭ラ亾鍚楋紵
鍦ㄤ粈涔堟儏鍐典笅浣跨敤Nginx姣斾娇鐢╯quid瑕佸ソ? 鍙嶄箣浜︾劧銆
澶т綋涓婃潵璇磏ginx涓昏鐢ㄤ簬鍙嶅悜鍔犻熶唬鐞嗚屼笉鏄儚squid閭f牱鍋氫负甯歌浠g悊鏈嶅姟鍣ㄣ侼ginx鐨勬渶澶т紭鍔垮湪浜庨珮璐熻浇鎯呭喌涓嬪唴瀛樺拰CPU鐨勪綆娑堣椼 鎴戜笉璁や负squid鑳界粰浣犲甫鏉ユ瘮nginx鏇村ソ鐨勬ц兘銆
鏈夋病鏈変汉鑳界粰鍑轰竴涓畬鏁寸殑.conf閰嶇疆鏂囦欢鏉ヨ缁嗙殑瑙h涓涓嬫庝箞閰嶇疆鍜屾祴璇 IMAP 妯″潡锛 鑰屼笉鍙槸鍏充簬 IMAP 鐨勫彧瑷鐗囪鍟?
渚濈収 [NginxImapProxyExample] 寮濮嬩綘鐨勯厤缃. 鍏充簬涓嶅悓閰嶇疆鍙傛暟鐨勫叿浣撲俊鎭, 璇锋煡鐪 [NginxMailCoreModule] 椤点
绀轰緥1: 鐢ㄨ繍琛屼簬apache涓婄殑php鑴氭湰鍋氬悗绔獙璇
绀轰緥2: 浣跨敤杩愯浜庡悓涓涓湇鍔″櫒鐨 nginx-embedded-perl 妯″潡浣滀负 imap/pop浠g悊鍜岃璇佸悗绔
鎬庝箞璁㎞ginx鎴愪负浠ostfix鍋氫负鍚庣鐨凷MTP浠g悊?
鏈変汉鐭ラ亾涓嶏紵
Nginx浣跨敤浠涔堢畻娉曟潵瀹炵幇璐熻浇鍧囪 ? 瀹冭兘瀹炵幇鍩轰簬杩炴帴鏁扮殑璐熻浇鍧囪 鍚?
鐩墠Nginx浣跨敤绠鍗曠殑杞贰绠楁硶锛屾墍浠ユ棤娉曞仛鍩烘湰閾炬帴璁℃暟鐨勮礋杞藉潎琛° 杩欎釜鍙兘浼氬湪灏嗘潵鐨勭増鏈腑鏈夋墍鏀瑰彉銆
鎴戣兘鍏抽棴浠庝唬鐞嗘湇鍔″櫒鍒板悗绔湇鍔″櫒鐨勭紦瀛樺悧鎴栬呬娇鐢ㄤ笂浼犺繘搴︾壒鎬?
鍩轰簬 澶浜鸿闂笅闈㈢殑闂:
- 鎴戣兘涓轰簡寰楀埌涓婁紶杩涘害鑰屽叧闂唬鐞嗙殑缂撳瓨鍚
- 浣跨敤nginx鎴戞庝箞鎵嶈兘缁欑敤鎴锋樉绀轰笂浼犺繘搴
- ...
鍒扮洰鍓嶄负姝 (2007-Apr-26) 杩樻病鏈夊姙娉曞叧闂埌鍚庣鏈嶅姟鍣ㄧ殑缂撳瓨.