ModulesJa
銈ゃ兂銈广儓銉笺儷 | 銉€偢銉ャ兗銉 | 銈€儔銈兂 | 瑷畾 | 銈炽儫銉ャ儖銉嗐偅 | 銇濄伄浠栥伄鎯呭牨婧
銇撱伄銈汇偗銈枫儳銉炽伅Nginx銇鑳姐仺瑷畾銇仱銇勩仸銇珮搴︺仾銉儠銈°儸銉炽偣銇с仚銆傘亾銇°倝銈傘仈瑕с亸銇犮仌銇勩:
- 瑷畾琛ㄨ銉儠銈°儸銉炽偣
- 銉€偢銉ャ兗銉蹇滆〃 - Apache銇↙ighttpd銇銇欍倠銉€偢銉ャ兗銉蹇滆〃
- 姗熻兘銇儶銈偍銈广儓
- 銇仒銈併伀
- 瑷畾銈儍銈儢銉冦偗
Contents |
[edit] Nginx銈炽偄
- Main 銉€偢銉ャ兗銉 - error log, processes, permissions 銇仼
- Events 銉€偢銉ャ兗銉 - epoll, kqueue, select, poll 銇仼
[edit] 妯欐簴銇瓾TTP銉€偢銉ャ兗銉
- HTTP Core 銉€偢銉ャ兗銉 - ports, locations, error pages, aliases 銇仼
- HTTP Upstream 銉€偢銉ャ兗銉 - 銉兗銉夈儛銉┿兂銈枫兂銈
- Access 銉€偢銉ャ兗銉 - IP銈€儔銉偣銉欍兗銈广伄 allow/deny
- Auth Basic 銉€偢銉ャ兗銉 - HTTP 瑾嶈
- AutoIndex 銉€偢銉ャ兗銉 - 銉囥偅銉偗銉堛儶鍐呫伄銉曘偂銈ゃ儷琛ㄧず
- Browser 銉€偢銉ャ兗銉 - interpret "User-Agent" string
- Charset 銉€偢銉ャ兗銉 - recode web pages
- Empty GIF 銉€偢銉ャ兗銉 - 銉°儮銉亱銈 1x1 銇┖銈ゃ儭銉笺偢銈掓彁渚
- FastCGI 銉€偢銉ャ兗銉
- GEO 銉€偢銉ャ兗銉 - set config variables using key/value pairs of IP addresses
- Gzip Compression Module
- HTTP Headers Module - set arbitrary response headers
- HTTP Index Module - set files to be used as index
- HTTP Referer Module - filter requests based on "Referer" string
- Limit Zone Module - limit simultaneous connections from a client
- Log Module - custom access logs
- Map Module - set config variables using arbitrary key/value pairs
- Memcached Module
- Proxy Module
- Rewrite Module - apply regular expressions to request URIs
- SSI Module - server-side includes
- UserID Module - issue identifying cookies
[edit] 銈儣銈枫儳銉炽伄HTTP銉€偢銉ャ兗銉
銇撱倢銈夈伄銉€偢銉ャ兗銉伅銈炽兂銉戙偆銉檪銇湁鍔广伀銇欍倠蹇呰銇屻亗銈娿伨銇欍
銉€偢銉ャ兗銉伄鍚嶇О | ./configure 銈儣銈枫儳銉 |
Addition Module - append text to pages | --with-http_addition_module |
Embedded Perl Module | --with-http_perl_module |
FLV Module - Flash Streaming Video | --with-http_flv_module |
Gzip Pre-Compression Module | --with-http_gzip_static_module |
Random Index Module - randomize directory indexes | --with-http_random_index_module |
Real IP Module - for using nginx as backend | --with-http_realip_module |
SSL Module | --with-http_ssl_module |
Stub Status Module - view server statistics | --with-http_stub_status_module |
Substitution Module - replace text in pages | --with-http_sub_module |
WebDAV Module | --with-http_dav_module |
Google Performance Tools Module | --with-google_perftools_module |
XSLT Module | --with-http_xslt_module |
[edit] 銈点兗銉夈儜銉笺儐銈c伄HTTP銉€偢銉ャ兗銉
銇撱倢銈夈伄銉€偢銉ャ兗銉伅Nginx銇偨銉笺偣銇伅鍚伨銈屻仸銇勩伨銇涖倱銆
[edit] 銈点兗銉夈儜銉笺儐銈c伄Nginx銉戙儍銉
銇撱倢銈夈伄銉戙儍銉併伅Nginx銇偨銉笺偣銇伅鍚伨銈屻仸銇勩伨銇涖倱銆
銉戙儍銉併伄鍚嶇О | 浣滆 | 銉銈︺兂銉兗銉 |
Set Real IP header to any variable | Joaquin Cuenca Abela | realip.patch |
Redirect to static file based on its freshness | DeepFryed | redirect_modified.patch , readme.txt |
Log to syslog | Marlon de Boer | syslog.patch |