FAQ

Page Discussion Edit History

ChsOverview

(Redirected from NginxChsOverview)

Nginx涓枃鏂囨。 > 姒傝堪

__HTTP鍩虹鍔熻兘锛歘_

  • 澶勭悊闈欐佹枃浠讹紝绱㈠紩鏂囦欢浠ュ強鑷姩绱㈠紩锛
  • 鍙嶅悜浠g悊鍔犻(鏃犵紦瀛)锛岀畝鍗曠殑璐熻浇鍧囪 鍜屽閿欙紱
  • FastCGI锛岀畝鍗曠殑璐熻浇鍧囪 鍜屽閿欙紱
  • 妯″潡鍖栫殑缁撴瀯銆傝繃婊ゅ櫒鍖呮嫭gzipping, byte ranges, chunked responses, 浠ュ強 SSI-filter 銆傚湪SSI杩囨护鍣ㄤ腑锛屽埌鍚屼竴涓 proxy 鎴栬 FastCGI 鐨勫涓瓙璇锋眰骞跺彂澶勭悊锛
  • SSL 鍜 TLS SNI 鏀寔锛

__IMAP/POP3 浠g悊鏈嶅姟鍔熻兘锛__

  • 浣跨敤澶栭儴 HTTP 璁よ瘉鏈嶅姟鍣ㄩ噸瀹氬悜鐢ㄦ埛鍒 IMAP/POP3 鍚庣锛
  • 浣跨敤澶栭儴 HTTP 璁よ瘉鏈嶅姟鍣ㄨ璇佺敤鎴峰悗杩炴帴閲嶅畾鍚戝埌鍐呴儴鐨 SMTP 鍚庣锛
  • 璁よ瘉鏂规硶锛
  • POP3: POP3 USER/PASS, APOP, AUTH LOGIN PLAIN CRAM-MD5;
  • IMAP: IMAP LOGIN;
  • SMTP: AUTH LOGIN PLAIN CRAM-MD5;
  • SSL 鏀寔锛
  • 鍦 IMAP 鍜 POP3 妯″紡涓嬬殑 STARTTLS 鍜 STLS 鏀寔锛

__鏀寔鐨勬搷浣滅郴缁燂細__

  • FreeBSD 3.x, 4.x, 5.x, 6.x i386; FreeBSD 5.x, 6.x amd64;
  • Linux 2.2, 2.4, 2.6 i386; Linux 2.6 amd64;
  • Solaris 8 i386; Solaris 9 i386 and sun4u; Solaris 10 i386;
  • MacOS X (10.4) PPC;
  • windows 缂栬瘧鐗堟湰鏀寔 windows 绯诲垪鎿嶄綔绯荤粺;

__缁撴瀯涓庢墿灞曪細__

  • 涓涓富杩涚▼鍜屽涓伐浣滆繘绋嬶紝宸ヤ綔杩涚▼杩愯浜庨潪鐗规潈鐢ㄦ埛锛
  • kqueue (FreeBSD 4.1+), epoll (Linux 2.6+), rt signals (Linux 2.2.19+), /dev/poll (Solaris 7 11/99+), select, 浠ュ強 poll 鏀寔锛
  • kqueue鏀寔鐨勪笉鍚屽姛鑳藉寘鎷 EV_CLEAR, EV_DISABLE 锛堜复鏃剁姝簨浠讹級锛 NOTE_LOWAT, EV_EOF, 鏈夋晥鏁版嵁鐨勬暟鐩紝閿欒浠g爜锛
  • sendfile (FreeBSD 3.1+), sendfile (Linux 2.2+), sendfile64 (Linux 2.4.21+), 鍜 sendfilev (Solaris 8 7/01+) 鏀寔锛
  • 杈撳叆杩囨护 (FreeBSD 4.1+) 浠ュ強 TCP_DEFER_ACCEPT (Linux 2.4+) 鏀寔锛
  • 10,000 闈炴椿鍔ㄧ殑 HTTP keep-alive 杩炴帴浠呴渶瑕 2.5M 鍐呭瓨銆
  • 鏈灏忓寲鐨勬暟鎹嫹璐濇搷浣滐紱

__鍏朵粬HTTP鍔熻兘锛__

  • 鍩轰簬IP 鍜屽悕绉扮殑铏氭嫙涓绘満鏈嶅姟锛
  • Memcached 鐨 GET 鎺ュ彛锛
  • 鏀寔 keep-alive 鍜岀閬撹繛鎺ワ紱
  • 鐏垫椿绠鍗曠殑閰嶇疆锛
  • 閲嶆柊閰嶇疆鍜屽湪绾垮崌绾ц屾棤椤讳腑鏂鎴风殑宸ヤ綔杩涚▼锛
  • 鍙畾鍒剁殑璁块棶鏃ュ織锛屾棩蹇楀啓鍏ョ紦瀛橈紝浠ュ強蹇嵎鐨勬棩蹇楀洖鍗凤紱
  • 4xx-5xx 閿欒浠g爜閲嶅畾鍚戯紱
  • 鍩轰簬 PCRE 鐨 rewrite 閲嶅啓妯″潡锛
  • 鍩轰簬瀹㈡埛绔 IP 鍦板潃鍜 HTTP 鍩烘湰璁よ瘉鐨勮闂帶鍒讹紱
  • PUT, DELETE, 鍜 MKCOL 鏂规硶锛
  • 鏀寔 FLV 锛團lash 瑙嗛锛夛紱
  • 甯﹀闄愬埗锛

__瀹為獙鐗规э細__

  • 鍐呭祵鐨 perl
  • 閫氳繃 aio_read()/aio_write() 鐨勫鎺ュ瓧宸ヤ綔鐨勫疄楠屾ā鍧楋紝浠呭湪 FreeBSD 涓嬨
  • 瀵圭嚎绋嬬殑瀹為獙鍖栨敮鎸侊紝FreeBSD 4.x 鐨勫疄鐜板熀浜 rfork()

Nginx 涓昏鐨勮嫳璇珯鐐规槸 http://sysoev.ru/en/

鑻辫鏂囨。鑽夌ǹ鐢 Aleksandar Lazic 瀹屾垚 鐐瑰嚮