ModulesJa
このセクションはNginxの機能と設定についての高度なリファレンスです。こちらもご覧ください。:
- 設定表記リファレンス
- モジュール対応表 - ApacheとLighttpdに対するモジュール対応表
- 機能のリクエスト
- はじめに
- 設定クックブック
Contents |
[edit] Nginxコアモジュール
これらのモジュールは必須です。
| モジュール名 | 説明 |
|---|---|
| Main | エラーログ設定、プロセス関連の設定、パーミッション関連の設定など |
| Events | epoll, kqueue, select, poll の設定など |
[edit] 標準のHTTPモジュール
これらのモジュールは configure で明示的に無効にされない限り、自動的にコンパイルされます。
| Name | 説明 | バージョン | configure argument to disable |
|---|---|---|---|
| Core | Control ports, locations, error pages, aliases, and other essentials. | --without-http | |
| Access | IPアドレスに基づいたアクセス制御 | --without-http_access_module | |
| Auth Basic | HTTP基本認証 | --without-http_auth_basic_module | |
| Auto Index | ディレクトリ内のファイル表示の生成 | --without-http_autoindex_module | |
| Browser | Interpret "User-Agent" string. | 0.4.3 | --without-http_browser_module |
| Charset | Recode web pages. | --without-http_charset_module | |
| Empty GIF | 1x1 ピクセルのイメージをメモリ上で提供する | 0.3.10 | --without-http_empty_gif_module |
| FastCGI | FastCGI のサポート | --without-http_fastcgi_module | |
| Geo | Set config variables using key/value pairs of IP addresses. | 0.1.17 | --without-http_geo_module |
| Gzip | レスポンスを gzip 圧縮する | --without-http_gzip_module | |
| Headers | 任意の HTTP レスポンスヘッダを設定する | ||
| Index | Controls which files are to be used as index. | ||
| Limit Requests | クライアントからのコネクションの頻度を制限する | 0.7.20 | --without-http_limit_req_module |
| Limit Zone | Limit simultaneous connections from a client. Deprecated in 1.1.8, use Limit Conn Instead. | 0.5.6 | --without-http_limit_zone_module |
| Limit Conn | 変数に基づき、同時接続可能なコネクション数を制限します | --without-http_limit_conn_module | |
| Log | アクセスログのカスタマイズを行います | ||
| Map | Set config variables using arbitrary key/value pairs. | 0.3.16 | --without-http_map_module |
| Memcached | Memcached support. | --without-http_memcached_module | |
| Proxy | 上位サーバに対するプロキシを行う | --without-http_proxy_module | |
| Referer | Filter requests based on Referer header.
|
--without-http_referer_module | |
| Rewrite | 正規表現を用いたリクエストの rewrite を実現する | --without-http_rewrite_module | |
| SCGI | SCGI protocol support. | 0.8.42 | --without-http_scgi_module |
| Split Clients | Splits clients based on some conditions | 0.8.37 | --without-http_split_clients_module |
| SSI | Server-side includes. | --without-http_ssi_module | |
| Upstream | ロードバランサ機能 | --without-http_upstream_ip_hash_module (ip_hash directive only) | |
| User ID | Issue identifying cookies. | --without-http_userid_module | |
| uWSGI | uWSGI プロトコルのサポート | 0.8.40 | --without-http_uwsgi_module |
| X-Accel | X-Sendfile-like module. |
[edit] オプションのHTTPモジュール
これらのモジュールは configure にオプションを指定することで、コンパイル時に有効にする必要があります。
| Name | Description | Version | 有効にするための configure 引数 |
|---|---|---|---|
| Addition | テキストをページに追加する | --with-http_addition_module | |
| Degradation | Allow to return 204 or 444 code for some locations on low memory condition. | 0.8.25 | --with-http_degradation_module |
| Embedded Perl | Use Perl in Nginx config files. | 0.3.21 | --with-http_perl_module |
| FLV | Flash Streaming Video | 0.4.7 | --with-http_flv_module |
| GeoIP | Creates variables with information from the MaxMind GeoIP binary files. | 0.8.6, 0.7.63 | --with-http_geoip_module |
| Google Perftools | Google Performance Tools support. | 0.6.29 | --with-google_perftools_module |
| Gzip Precompression | Serves precompressed versions of static files. | 0.6.23 | --with-http_gzip_static_module |
| Image Filter | libgd を用いてイメージを変換する | 0.7.54 | --with-http_image_filter_module |
| MP4 | Enables mp4 streaming with seeking ability. | 1.1.3, 1.0.7 | --with-http_mp4_module |
| Random Index | Randomize directory indexes. | 0.7.15 | --with-http_random_index_module |
| Real IP | For using nginx as backend | 0.3.8 | --with-http_realip_module |
| Secure Link | ページを秘密キーで保護する | 0.7.18 | --with-http_secure_link_module |
| SSL | HTTPS/SSL のサポート | --with-http_ssl_module | |
| Stub Status | View server statistics. | 0.1.18 | --with-http_stub_status_module |
| Substitution | Replace text in pages | --with-http_sub_module | |
| WebDAV | WebDAV pass-through support. | 0.3.38 | --with-http_dav_module |
| XSLT | XLST を用いてページを後処理する | 0.7.8 | --with-http_xslt_module |
[edit] サードパーティのHTTPモジュール
これらのモジュールはNginxのソースには含まれていません。
[edit] サードパーティの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 |
[edit] 開発者向けリソース
[edit] メールモジュール
| Name | Description | configure argument |
|---|---|---|
| Core | Nginx is able to handle and proxy the IMAP, POP3, SMTP protocols. | --with-mail --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module |
| Auth | Use Nginx to authenticate mail services. | |
| Proxy | Nginx は IMAP, POP3, SMTP プロトコルのプロキシを行うことが可能です。 | |
| SSL | POP3/IMAP/SMTP の SSL/TLS サポートを有効にします。 | --with-mail_ssl_module |










