NGINX アドバンスモードで利用できるディレクティブ一覧 ¶
このページでは Gehirn RS2 Plus サイトの NGINX バックエンドアドバンスモードでご利用になれる NGINX ディレクティブの一覧を提供いたします。
なお、ゲヒルンでは NGINX ディレクティブの利用方法に関するご質問や設定の支援のご依頼は承っておりません。お客さまの設定に起因する NGINX の動作やセキュリティ上の問題についてもゲヒルンでは責任を負いかねます。
NGINX アドバンスモードはお客さまの責任においてご利用ください。
目次
NGINX ディレクティブ一覧(辞書順)¶
ディレクティブ | モジュール | コンテキスト | 補足 |
---|---|---|---|
access_log | ngx_http_log_module |
|
/var/log/sites/ホスト名/access.nginx.log のみ |
add_after_body | ngx_http_addition_module |
|
|
add_before_body | ngx_http_addition_module |
|
|
add_header | ngx_http_headers_module |
|
|
add_trailer | ngx_http_headers_module |
|
|
addition_types | ngx_http_addition_module |
|
|
alias | ngx_http_core_module |
|
root をご参照ください |
allow | ngx_http_access_module |
|
|
ancient_browser | ngx_http_browser_module |
|
|
ancient_browser_value | ngx_http_browser_module |
|
|
auth_basic | ngx_http_auth_basic_module |
|
|
auth_basic_user_file | ngx_http_auth_basic_module |
|
|
auth_delay | ngx_http_core_module |
|
|
auth_request | ngx_http_auth_request_module |
|
|
auth_request_set | ngx_http_auth_request_module |
|
|
autoindex | ngx_http_autoindex_module |
|
|
autoindex_exact_size | ngx_http_autoindex_module |
|
|
autoindex_format | ngx_http_autoindex_module |
|
|
autoindex_localtime | ngx_http_autoindex_module |
|
|
break | ngx_http_rewrite_module |
|
|
charset | ngx_http_charset_module |
|
|
charset_types | ngx_http_charset_module |
|
|
chunked_transfer_encoding | ngx_http_core_module |
|
|
client_max_body_size | ngx_http_core_module |
|
|
default_type | ngx_http_core_module |
|
|
deny | ngx_http_access_module |
|
|
empty_gif | ngx_http_empty_gif_module |
|
|
error_log | ngx_core_module |
|
/var/log/sites/ホスト名/error.nginx.log のみ |
error_page | ngx_http_core_module |
|
|
etag | ngx_http_core_module |
|
|
expires | ngx_http_headers_module |
|
|
fastcgi_buffer_size | ngx_http_fastcgi_module |
|
|
fastcgi_buffering | ngx_http_fastcgi_module |
|
|
fastcgi_buffers | ngx_http_fastcgi_module |
|
|
fastcgi_busy_buffers_size | ngx_http_fastcgi_module |
|
|
fastcgi_cache | ngx_http_fastcgi_module |
|
|
fastcgi_cache_background_update | ngx_http_fastcgi_module |
|
|
fastcgi_cache_bypass | ngx_http_fastcgi_module |
|
|
fastcgi_cache_key | ngx_http_fastcgi_module |
|
|
fastcgi_cache_lock | ngx_http_fastcgi_module |
|
|
fastcgi_cache_lock_age | ngx_http_fastcgi_module |
|
|
fastcgi_cache_lock_timeout | ngx_http_fastcgi_module |
|
|
fastcgi_cache_max_range_offset | ngx_http_fastcgi_module |
|
|
fastcgi_cache_methods | ngx_http_fastcgi_module |
|
|
fastcgi_cache_min_uses | ngx_http_fastcgi_module |
|
|
fastcgi_cache_path | ngx_http_fastcgi_module |
|
|
fastcgi_cache_revalidate | ngx_http_fastcgi_module |
|
|
fastcgi_cache_use_stale | ngx_http_fastcgi_module |
|
|
fastcgi_cache_valid | ngx_http_fastcgi_module |
|
|
fastcgi_catch_stderr | ngx_http_fastcgi_module |
|
|
fastcgi_connect_timeout | ngx_http_fastcgi_module |
|
|
fastcgi_force_ranges | ngx_http_fastcgi_module |
|
|
fastcgi_hide_header | ngx_http_fastcgi_module |
|
|
fastcgi_ignore_client_abort | ngx_http_fastcgi_module |
|
|
fastcgi_ignore_headers | ngx_http_fastcgi_module |
|
|
fastcgi_index | ngx_http_fastcgi_module |
|
|
fastcgi_intercept_errors | ngx_http_fastcgi_module |
|
|
fastcgi_limit_rate | ngx_http_fastcgi_module |
|
|
fastcgi_max_temp_file_size | ngx_http_fastcgi_module |
|
|
fastcgi_next_upstream | ngx_http_fastcgi_module |
|
|
fastcgi_next_upstream_timeout | ngx_http_fastcgi_module |
|
|
fastcgi_next_upstream_tries | ngx_http_fastcgi_module |
|
|
fastcgi_no_cache | ngx_http_fastcgi_module |
|
|
fastcgi_param | ngx_http_fastcgi_module |
|
|
fastcgi_pass | ngx_http_fastcgi_module |
|
|
fastcgi_pass_header | ngx_http_fastcgi_module |
|
|
fastcgi_pass_request_body | ngx_http_fastcgi_module |
|
|
fastcgi_pass_request_headers | ngx_http_fastcgi_module |
|
|
fastcgi_read_timeout | ngx_http_fastcgi_module |
|
|
fastcgi_request_buffering | ngx_http_fastcgi_module |
|
|
fastcgi_send_timeout | ngx_http_fastcgi_module |
|
|
fastcgi_split_path_info | ngx_http_fastcgi_module |
|
|
fastcgi_store | ngx_http_fastcgi_module |
|
|
fastcgi_temp_file_write_size | ngx_http_fastcgi_module |
|
|
fastcgi_temp_path | ngx_http_fastcgi_module |
|
|
geo | ngx_http_geo_module |
|
以下のディレクティブ以外をご利用になれます。
|
hash | ngx_http_upstream_module |
|
|
if | ngx_http_rewrite_module |
|
|
if_modified_since | ngx_http_core_module |
|
|
image_filter | ngx_http_image_filter_module |
|
|
image_filter_buffer | ngx_http_image_filter_module |
|
|
image_filter_interlace | ngx_http_image_filter_module |
|
|
image_filter_jpeg_quality | ngx_http_image_filter_module |
|
|
image_filter_sharpen | ngx_http_image_filter_module |
|
|
image_filter_transparency | ngx_http_image_filter_module |
|
|
image_filter_webp_quality | ngx_http_image_filter_module |
|
|
include | ngx_core_module |
|
以下のファイルのみ
|
index | ngx_http_index_module |
|
|
internal | ngx_http_core_module |
|
|
ip_hash | ngx_http_upstream_module |
|
|
keepalive | ngx_http_upstream_module |
|
|
keepalive_requests | ngx_http_upstream_module |
|
|
keepalive_time | ngx_http_upstream_module |
|
|
keepalive_timeout | ngx_http_upstream_module |
|
|
least_conn | ngx_http_upstream_module |
|
|
limit_conn | ngx_http_limit_conn_module |
|
|
limit_conn_dry_run | ngx_http_limit_conn_module |
|
|
limit_conn_log_level | ngx_http_limit_conn_module |
|
|
limit_conn_status | ngx_http_limit_conn_module |
|
|
limit_conn_zone | ngx_http_limit_conn_module |
|
|
limit_except | ngx_http_core_module |
|
|
limit_req | ngx_http_limit_req_module |
|
|
limit_req_dry_run | ngx_http_limit_req_module |
|
|
limit_req_log_level | ngx_http_limit_req_module |
|
|
limit_req_status | ngx_http_limit_req_module |
|
|
limit_req_zone | ngx_http_limit_req_module |
|
|
listen | ngx_http_core_module |
|
listen 80; のみ |
location | ngx_http_core_module |
|
|
log_not_found | ngx_http_core_module |
|
|
log_subrequest | ngx_http_core_module |
|
|
map | ngx_http_map_module |
|
include パラメーターはご利用になれません。 |
max_ranges | ngx_http_core_module |
|
|
modern_browser | ngx_http_browser_module |
|
|
modern_browser_value | ngx_http_browser_module |
|
|
msie_padding | ngx_http_core_module |
|
|
msie_refresh | ngx_http_core_module |
|
|
override_charset | ngx_http_charset_module |
|
|
proxy_buffer_size | ngx_http_proxy_module |
|
|
proxy_buffering | ngx_http_proxy_module |
|
|
proxy_buffers | ngx_http_proxy_module |
|
|
proxy_busy_buffers_size | ngx_http_proxy_module |
|
|
proxy_cache | ngx_http_proxy_module |
|
|
proxy_cache_background_update | ngx_http_proxy_module |
|
|
proxy_cache_bypass | ngx_http_proxy_module |
|
|
proxy_cache_convert_head | ngx_http_proxy_module |
|
|
proxy_cache_key | ngx_http_proxy_module |
|
|
proxy_cache_lock | ngx_http_proxy_module |
|
|
proxy_cache_lock_age | ngx_http_proxy_module |
|
|
proxy_cache_lock_timeout | ngx_http_proxy_module |
|
|
proxy_cache_max_range_offset | ngx_http_proxy_module |
|
|
proxy_cache_methods | ngx_http_proxy_module |
|
|
proxy_cache_min_uses | ngx_http_proxy_module |
|
|
proxy_cache_path | ngx_http_proxy_module |
|
|
proxy_cache_revalidate | ngx_http_proxy_module |
|
|
proxy_cache_use_stale | ngx_http_proxy_module |
|
|
proxy_cache_valid | ngx_http_proxy_module |
|
|
proxy_connect_timeout | ngx_http_proxy_module |
|
|
proxy_cookie_domain | ngx_http_proxy_module |
|
|
proxy_cookie_flags | ngx_http_proxy_module |
|
|
proxy_cookie_path | ngx_http_proxy_module |
|
|
proxy_force_ranges | ngx_http_proxy_module |
|
|
proxy_headers_hash_bucket_size | ngx_http_proxy_module |
|
|
proxy_headers_hash_max_size | ngx_http_proxy_module |
|
|
proxy_hide_header | ngx_http_proxy_module |
|
|
proxy_http_version | ngx_http_proxy_module |
|
|
proxy_ignore_headers | ngx_http_proxy_module |
|
|
proxy_intercept_errors | ngx_http_proxy_module |
|
|
proxy_limit_rate | ngx_http_proxy_module |
|
|
proxy_method | ngx_http_proxy_module |
|
|
proxy_next_upstream | ngx_http_proxy_module |
|
|
proxy_next_upstream_timeout | ngx_http_proxy_module |
|
|
proxy_next_upstream_tries | ngx_http_proxy_module |
|
|
proxy_no_cache | ngx_http_proxy_module |
|
|
proxy_pass | ngx_http_proxy_module |
|
|
proxy_pass_header | ngx_http_proxy_module |
|
|
proxy_pass_request_body | ngx_http_proxy_module |
|
|
proxy_pass_request_headers | ngx_http_proxy_module |
|
|
proxy_read_timeout | ngx_http_proxy_module |
|
|
proxy_redirect | ngx_http_proxy_module |
|
|
proxy_request_buffering | ngx_http_proxy_module |
|
|
proxy_send_timeout | ngx_http_proxy_module |
|
|
proxy_set_body | ngx_http_proxy_module |
|
|
proxy_set_header | ngx_http_proxy_module |
|
|
proxy_store | ngx_http_proxy_module |
|
|
proxy_temp_file_write_size | ngx_http_proxy_module |
|
|
proxy_temp_path | ngx_http_proxy_module |
|
|
recursive_error_pages | ngx_http_core_module |
|
|
referer_hash_bucket_size | ngx_http_referer_module |
|
|
referer_hash_max_size | ngx_http_referer_module |
|
|
return | ngx_http_rewrite_module |
|
|
rewrite | ngx_http_rewrite_module |
|
|
rewrite_log | ngx_http_rewrite_module |
|
|
root | ngx_http_core_module |
|
/var/www 以下のディレクトリ |
satisfy | ngx_http_core_module |
|
|
scgi_buffer_size | ngx_http_scgi_module |
|
|
scgi_buffering | ngx_http_scgi_module |
|
|
scgi_buffers | ngx_http_scgi_module |
|
|
scgi_busy_buffers_size | ngx_http_scgi_module |
|
|
scgi_cache | ngx_http_scgi_module |
|
|
scgi_cache_background_update | ngx_http_scgi_module |
|
|
scgi_cache_bypass | ngx_http_scgi_module |
|
|
scgi_cache_key | ngx_http_scgi_module |
|
|
scgi_cache_lock | ngx_http_scgi_module |
|
|
scgi_cache_lock_age | ngx_http_scgi_module |
|
|
scgi_cache_lock_timeout | ngx_http_scgi_module |
|
|
scgi_cache_max_range_offset | ngx_http_scgi_module |
|
|
scgi_cache_methods | ngx_http_scgi_module |
|
|
scgi_cache_min_uses | ngx_http_scgi_module |
|
|
scgi_cache_path | ngx_http_scgi_module |
|
|
scgi_cache_revalidate | ngx_http_scgi_module |
|
|
scgi_cache_use_stale | ngx_http_scgi_module |
|
|
scgi_cache_valid | ngx_http_scgi_module |
|
|
scgi_connect_timeout | ngx_http_scgi_module |
|
|
scgi_force_ranges | ngx_http_scgi_module |
|
|
scgi_hide_header | ngx_http_scgi_module |
|
|
scgi_ignore_client_abort | ngx_http_scgi_module |
|
|
scgi_ignore_headers | ngx_http_scgi_module |
|
|
scgi_intercept_errors | ngx_http_scgi_module |
|
|
scgi_limit_rate | ngx_http_scgi_module |
|
|
scgi_max_temp_file_size | ngx_http_scgi_module |
|
|
scgi_next_upstream | ngx_http_scgi_module |
|
|
scgi_next_upstream_timeout | ngx_http_scgi_module |
|
|
scgi_next_upstream_tries | ngx_http_scgi_module |
|
|
scgi_no_cache | ngx_http_scgi_module |
|
|
scgi_param | ngx_http_scgi_module |
|
|
scgi_pass | ngx_http_scgi_module |
|
|
scgi_pass_header | ngx_http_scgi_module |
|
|
scgi_pass_request_body | ngx_http_scgi_module |
|
|
scgi_pass_request_headers | ngx_http_scgi_module |
|
|
scgi_read_timeout | ngx_http_scgi_module |
|
|
scgi_request_buffering | ngx_http_scgi_module |
|
|
scgi_send_timeout | ngx_http_scgi_module |
|
|
scgi_store | ngx_http_scgi_module |
|
|
scgi_temp_file_write_size | ngx_http_scgi_module |
|
|
scgi_temp_path | ngx_http_scgi_module |
|
|
server | ngx_http_core_module |
|
1 つのみ記述可能です。また、必ず 1 つの設定が必要です。 |
server | ngx_http_upstream_module |
|
以下のパラメーターはご利用になれません。
|
server_name | ngx_http_core_module |
|
Gehirn RS2 Plus サイトのホスト名のみ |
set | ngx_http_rewrite_module |
|
|
slice | ngx_http_slice_module |
|
|
source_charset | ngx_http_charset_module |
|
|
split_clients | ngx_http_split_clients_module |
|
|
ssi | ngx_http_ssi_module |
|
|
ssi_last_modified | ngx_http_ssi_module |
|
|
ssi_min_file_chunk | ngx_http_ssi_module |
|
|
ssi_silent_errors | ngx_http_ssi_module |
|
|
ssi_types | ngx_http_ssi_module |
|
|
ssi_value_length | ngx_http_ssi_module |
|
|
status | ngx_http_status_module |
|
|
status_format | ngx_http_status_module |
|
|
status_zone | ngx_http_status_module |
|
|
stub_status | ngx_http_stub_status_module |
|
|
sub_filter | ngx_http_sub_module |
|
|
sub_filter_last_modified | ngx_http_sub_module |
|
|
sub_filter_once | ngx_http_sub_module |
|
|
sub_filter_types | ngx_http_sub_module |
|
|
try_files | ngx_http_core_module |
|
|
types | ngx_http_core_module |
|
|
uninitialized_variable_warn | ngx_http_rewrite_module |
|
|
upstream | ngx_http_upstream_module |
|
|
uwsgi_buffer_size | ngx_http_uwsgi_module |
|
|
uwsgi_buffering | ngx_http_uwsgi_module |
|
|
uwsgi_buffers | ngx_http_uwsgi_module |
|
|
uwsgi_busy_buffers_size | ngx_http_uwsgi_module |
|
|
uwsgi_cache | ngx_http_uwsgi_module |
|
|
uwsgi_cache_background_update | ngx_http_uwsgi_module |
|
|
uwsgi_cache_bypass | ngx_http_uwsgi_module |
|
|
uwsgi_cache_key | ngx_http_uwsgi_module |
|
|
uwsgi_cache_lock | ngx_http_uwsgi_module |
|
|
uwsgi_cache_lock_age | ngx_http_uwsgi_module |
|
|
uwsgi_cache_lock_timeout | ngx_http_uwsgi_module |
|
|
uwsgi_cache_max_range_offset | ngx_http_uwsgi_module |
|
|
uwsgi_cache_methods | ngx_http_uwsgi_module |
|
|
uwsgi_cache_min_uses | ngx_http_uwsgi_module |
|
|
uwsgi_cache_path | ngx_http_uwsgi_module |
|
|
uwsgi_cache_revalidate | ngx_http_uwsgi_module |
|
|
uwsgi_cache_use_stale | ngx_http_uwsgi_module |
|
|
uwsgi_cache_valid | ngx_http_uwsgi_module |
|
|
uwsgi_connect_timeout | ngx_http_uwsgi_module |
|
|
uwsgi_force_ranges | ngx_http_uwsgi_module |
|
|
uwsgi_hide_header | ngx_http_uwsgi_module |
|
|
uwsgi_ignore_headers | ngx_http_uwsgi_module |
|
|
uwsgi_intercept_errors | ngx_http_uwsgi_module |
|
|
uwsgi_limit_rate | ngx_http_uwsgi_module |
|
|
uwsgi_max_temp_file_size | ngx_http_uwsgi_module |
|
|
uwsgi_modifier1 | ngx_http_uwsgi_module |
|
|
uwsgi_modifier2 | ngx_http_uwsgi_module |
|
|
uwsgi_next_upstream | ngx_http_uwsgi_module |
|
|
uwsgi_next_upstream_timeout | ngx_http_uwsgi_module |
|
|
uwsgi_next_upstream_tries | ngx_http_uwsgi_module |
|
|
uwsgi_no_cache | ngx_http_uwsgi_module |
|
|
uwsgi_param | ngx_http_uwsgi_module |
|
|
uwsgi_pass | ngx_http_uwsgi_module |
|
|
uwsgi_pass_header | ngx_http_uwsgi_module |
|
|
uwsgi_pass_request_body | ngx_http_uwsgi_module |
|
|
uwsgi_pass_request_headers | ngx_http_uwsgi_module |
|
|
uwsgi_read_timeout | ngx_http_uwsgi_module |
|
|
uwsgi_request_buffering | ngx_http_uwsgi_module |
|
|
uwsgi_send_timeout | ngx_http_uwsgi_module |
|
|
uwsgi_store | ngx_http_uwsgi_module |
|
|
uwsgi_temp_file_write_size | ngx_http_uwsgi_module |
|
|
uwsgi_temp_path | ngx_http_uwsgi_module |
|
|
valid_referers | ngx_http_referer_module |
|
|
xml_entities | ngx_http_xslt_module |
|
|
xslt_last_modified | ngx_http_xslt_module |
|
|
xslt_param | ngx_http_xslt_module |
|
|
xslt_string_param | ngx_http_xslt_module |
|
|
xslt_stylesheet | ngx_http_xslt_module |
|
|
xslt_types | ngx_http_xslt_module |
|
|
zone | ngx_http_upstream_module |
|
補足 ¶
HTTPS (SSL) のご利用について ¶
Gehirn RS2 Plus では HTTPS 通信をゲヒルンが管理するウェブサーバで終端し、お客さま専用の NGINX インスタンスに HTTP でリバースプロキシしています。
このため、アドバンスモードをご利用の場合でも HTTPS 関連の設定を記述する必要はございません。
一部 NGINX ディレクティブの利用制限について ¶
ゲヒルンが管理する設定と競合する一部の NGINX ディレクティブのご利用を制限させていただいております。
また、お客さまが設定されたほかの NGINX アドバンスドモードのサイトとの競合を防ぐため、複数のコンテキストで利用できる一部の NGINX ディレクティブについて http
コンテキストにおける利用を制限しております。
不具合のご報告について¶
Gehirn RS2 Plus では NGINX アドバンスモードの設定を NGINX に適用する前に、 NGINX とは異なる仕組み(構文解析器、パーサー)で設定の問題を検出しています。
この仕組みは NGINX と関係なくゲヒルンが独自に実装しているため、不具合により NGINX による実際の解釈と齟齬が生じる場合がございます。
有効なはずの設定がエラーになるなど、この齟齬によるものと思われる問題を発見した場合はお手数をおかけいたしますがサポートセンターよりご報告ください。
なお、ご報告の際は問題が発生する実際の設定内容をご提供くださいますと幸いです。
更新履歴 ¶
更新日 | 更新内容 |
---|---|
2022-02-10 | 公開 |
2022-02-16 | 次のディレクティブのコンテキストを修正
|
2022-03-24 | 以下のディレクティブを追加
|