FAQ

Page Discussion Edit History

DirectiveIndex

[edit] Directive Index

This page was generated automatically by crawling module pages on 2009-Jul-29; any changes to the module pages made after that date will not be reflected below. Directives in modules whose markup does not follow the convention may not be listed. On 2012-Jan-20, the Nginx prefix was removed from module links, to reflect the current naming convention (the pages redirected anyway).

Directive Module
accept_mutex EventsModule
accept_mutex_delay EventsModule
access_log HttpLogModule
add_after_body HttpAdditionModule
add_before_body HttpAdditionModule
add_header HttpHeadersModule
alias HttpCoreModule
allow HttpAccessModule
ancient_browser HttpBrowserModule
ancient_browser_value HttpBrowserModule
auth MailCoreModule
auth_basic HttpAuthBasicModule
auth_basic_user_file HttpAuthBasicModule
auth_http MailAuthModule
auth_http_header MailAuthModule
auth_http_timeout MailAuthModule
autoindex HttpAutoindexModule
autoindex_exact_size HttpAutoindexModule
autoindex_localtime HttpAutoindexModule
break HttpRewriteModule
charset HttpCharsetModule
charset_map HttpCharsetModule
client_body_buffer_size HttpCoreModule
client_body_in_file_only HttpCoreModule
client_body_in_single_buffer HttpCoreModule
client_body_temp_path HttpCoreModule
client_body_timeout HttpCoreModule
client_header_buffer_size HttpCoreModule
client_header_timeout HttpCoreModule
client_max_body_size HttpCoreModule
create_full_put_path HttpDavModule
daemon CoreModule
dav_access HttpDavModule
dav_methods HttpDavModule
debug_connection EventsModule
debug_points CoreModule
default_type HttpCoreModule
deny HttpAccessModule
devpoll_changes EventsModule
devpoll_events EventsModule
directio HttpCoreModule
empty_gif HttpEmptyGifModule
env CoreModule
epoll_events EventsModule
error_log CoreModule
error_page HttpCoreModule
expires HttpHeadersModule
fastcgi_buffer_size HttpFcgiModule
fastcgi_buffers HttpFcgiModule
fastcgi_cache HttpFcgiModule
fastcgi_cache_key HttpFcgiModule
fastcgi_cache_methods HttpFcgiModule
fastcgi_cache_min_uses HttpFcgiModule
fastcgi_cache_path HttpFcgiModule
fastcgi_cache_use_stale HttpFcgiModule
fastcgi_cache_valid HttpFcgiModule
fastcgi_hide_header HttpFcgiModule
fastcgi_ignore_client_abort HttpFcgiModule
fastcgi_index HttpFcgiModule
fastcgi_intercept_errors HttpFcgiModule
fastcgi_max_temp_file_size HttpFcgiModule
fastcgi_param HttpFcgiModule
fastcgi_pass HttpFcgiModule
fastcgi_pass_header HttpFcgiModule
fastcgi_read_timeout HttpFcgiModule
fastcgi_redirect_errors HttpFcgiModule
fastcgi_split_path_info HttpFcgiModule
fastcgi_store HttpFcgiModule
fastcgi_store_access HttpFcgiModule
flv HttpFlvStreamModule
geo HttpGeoModule
geoip_city HttpGeoIPModule
geoip_country HttpGeoIPModule
google_perftools_profiles GooglePerftoolsModule
gzip HttpGzipModule
gzip_buffers HttpGzipModule
gzip_comp_level HttpGzipModule
gzip_disable HttpGzipModule
gzip_disable HttpGzipStaticModule
gzip_http_version HttpGzipModule
gzip_http_version HttpGzipStaticModule
gzip_min_length HttpGzipModule
gzip_proxied HttpGzipModule
gzip_proxied HttpGzipStaticModule
gzip_static HttpGzipStaticModule
gzip_types HttpGzipModule
gzip_vary HttpGzipModule
gzip_vary HttpGzipStaticModule
if HttpRewriteModule
if_modified_since HttpCoreModule
image_filter HttpImageFilterModule
image_filter_buffer HttpImageFilterModule
image_filter_jpeg_quality HttpImageFilterModule
imap_capabilities MailCoreModule
imap_client_buffer MailCoreModule
include CoreModule
index HttpCoreModule
index HttpIndexModule
internal HttpCoreModule
ip_hash HttpUpstreamModule
keepalive_requests HttpCoreModule
keepalive_timeout HttpCoreModule
kqueue_changes EventsModule
kqueue_events EventsModule
large_client_header_buffers HttpCoreModule
limit_conn HttpLimitZoneModule
limit_except HttpCoreModule
limit_rate HttpCoreModule
limit_rate_after HttpCoreModule
limit_zone HttpLimitZoneModule
listen HttpCoreModule
listen MailCoreModule
location HttpCoreModule
lock_file CoreModule
log_format HttpLogModule
log_format_combined HttpLogModule
log_not_found CoreModule
log_not_found HttpCoreModule
log_subrequest HttpCoreModule
map HttpMapModule
map_hash_bucket_size HttpMapModule
map_hash_max_size HttpMapModule
master_process CoreModule
memcached_buffer_size HttpMemcachedModule
memcached_connect_timeout HttpMemcachedModule
memcached_next_upstream HttpMemcachedModule
memcached_pass HttpMemcachedModule
memcached_read_timeout HttpMemcachedModule
memcached_send_timeout HttpMemcachedModule
modern_browser HttpBrowserModule
modern_browser_value HttpBrowserModule
msie_padding HttpCoreModule
msie_refresh HttpCoreModule
multi_accept EventsModule
open_file_cache HttpCoreModule
open_file_cache_errors HttpCoreModule
open_file_cache_min_uses HttpCoreModule
open_file_cache_valid HttpCoreModule
open_log_file_cache HttpLogModule
optimize_server_names HttpCoreModule
override_charset HttpCharsetModule
perl EmbeddedPerlModule
perl_modules EmbeddedPerlModule
perl_require EmbeddedPerlModule
perl_set EmbeddedPerlModule
pid CoreModule
pop3_auth MailCoreModule
pop3_capabilities MailCoreModule
port_in_redirect HttpCoreModule
protocol MailCoreModule
proxy MailProxyModule
proxy_buffer MailProxyModule
proxy_buffer_size HttpProxyModule
proxy_buffering HttpProxyModule
proxy_buffers HttpProxyModule
proxy_busy_buffers_size HttpProxyModule
proxy_cache HttpProxyModule
proxy_cache_methods HttpProxyModule
proxy_cache_min_uses HttpProxyModule
proxy_cache_path HttpProxyModule
proxy_cache_use_stale HttpProxyModule
proxy_cache_valid HttpProxyModule
proxy_connect_timeout HttpProxyModule
proxy_headers_hash_bucket_size HttpProxyModule
proxy_headers_hash_max_size HttpProxyModule
proxy_hide_header HttpProxyModule
proxy_ignore_client_abort HttpProxyModule
proxy_ignore_headers HttpProxyModule
proxy_intercept_errors HttpProxyModule
proxy_max_temp_file_size HttpProxyModule
proxy_method HttpProxyModule
proxy_next_upstream HttpProxyModule
proxy_pass HttpProxyModule
proxy_pass_error_message MailProxyModule
proxy_pass_header HttpProxyModule
proxy_pass_request_body HttpProxyModule
proxy_pass_request_headers HttpProxyModule
proxy_read_timeout HttpProxyModule
proxy_redirect HttpProxyModule
proxy_redirect_errors HttpProxyModule
proxy_send_lowat HttpProxyModule
proxy_send_timeout HttpProxyModule
proxy_set_body HttpProxyModule
proxy_set_header HttpProxyModule
proxy_store HttpProxyModule
proxy_store_access HttpProxyModule
proxy_temp_file_write_size HttpProxyModule
proxy_temp_path HttpProxyModule
proxy_timeout MailProxyModule
proxy_upstream_fail_timeout HttpProxyModule
proxy_upstream_max_fails HttpProxyModule
random_index HttpRandomIndexModule
real_ip_header HttpRealIpModule
recursive_error_pages HttpCoreModule
resolver HttpCoreModule
resolver_timeout HttpCoreModule
return HttpRewriteModule
rewrite HttpRewriteModule
root HttpCoreModule
rtsig_overflow_events EventsModule
rtsig_overflow_test EventsModule
rtsig_overflow_threshold EventsModule
rtsig_signo EventsModule
satisfy_any HttpCoreModule
send_timeout HttpCoreModule
sendfile HttpCoreModule
server HttpCoreModule
server HttpUpstreamModule
server MailCoreModule
server_name HttpCoreModule
server_name MailCoreModule
server_name_in_redirect HttpCoreModule
server_names_hash_bucket_size HttpCoreModule
server_names_hash_max_size HttpCoreModule
server_tokens HttpCoreModule
set HttpRewriteModule
set_real_ip_from HttpRealIpModule
smtp_auth MailCoreModule
smtp_capabilities MailCoreModule
so_keepalive MailCoreModule
source_charset HttpCharsetModule
ssi HttpSsiModule
ssi_silent_errors HttpSsiModule
ssi_types HttpSsiModule
ssi_value_length HttpSsiModule
ssl MailSslModule
ssl HttpSslModule
ssl_certificate MailSslModule
ssl_certificate HttpSslModule
ssl_certificate_key MailSslModule
ssl_certificate_key HttpSslModule
ssl_ciphers MailSslModule
ssl_ciphers HttpSslModule
ssl_client_certificate HttpSslModule
ssl_crl HttpSslModule
ssl_dhparam HttpSslModule
ssl_engine CoreModule
ssl_engine HttpSslModule
ssl_prefer_server_ciphers MailSslModule
ssl_prefer_server_ciphers HttpSslModule
ssl_protocols MailSslModule
ssl_protocols HttpSslModule
ssl_session_cache MailSslModule
ssl_session_cache HttpSslModule
ssl_session_timeout MailSslModule
ssl_session_timeout HttpSslModule
ssl_verify_client HttpSslModule
ssl_verify_depth HttpSslModule
starttls MailSslModule
stub_status HttpStubStatusModule
sub_filter HttpSubModule
sub_filter_once HttpSubModule
sub_filter_types HttpSubModule
tcp_nodelay HttpCoreModule
tcp_nopush HttpCoreModule
timeout MailCoreModule
timer_resolution CoreModule
try_files HttpCoreModule
types HttpCoreModule
uninitialized_variable_warn HttpRewriteModule
upstream HttpUpstreamModule
use EventsModule
user CoreModule
userid HttpUserIdModule
userid_domain HttpUserIdModule
userid_expires HttpUserIdModule
userid_name HttpUserIdModule
userid_p3p HttpUserIdModule
userid_path HttpUserIdModule
userid_service HttpUserIdModule
valid_referers HttpRefererModule
worker_connections EventsModule
worker_cpu_affinity CoreModule
worker_priority CoreModule
worker_processes CoreModule
worker_rlimit_core CoreModule
worker_rlimit_nofile CoreModule
worker_rlimit_sigpending CoreModule
working_directory CoreModule
xclient MailProxyModule
xslt_entities HttpXsltModule
xslt_stylesheet HttpXsltModule
xslt_types HttpXsltModule

The Ruby code that generated this page:

BASE_URL     = 'http://wiki.nginx.org/'
MODULE_INDEX = 'NginxModules'

USE_CACHE    = true
CACHE_DIR    = '/tmp/'

def read_page( page_name )
  page_url = "#{BASE_URL}#{page_name}"
  if USE_CACHE
    file = "#{CACHE_DIR}#{page_name}.html"
    `curl -s #{page_url} > #{file}` unless File.exist?( file )
    File.read( file )    
  else
    `curl -s #{page_url}`
  end
end

all_directives = Hash.new{ |h,k| h[k] =[]  }

modules = read_page( MODULE_INDEX ).scan( /\bNginx(?:\w+)Module\b/ ).uniq
modules.reject!{ |name| name =~ /^NginxChs/ }
modules.reject!{ |name| name =~ /^NginxRu/  }

modules.each{ |page_name|
  html = read_page( page_name )
  # All module directive headers seem to follow this markup
  directive_section = html[ %r{Directives\s*</span></h1>.+?(?:<h1|\Z)}m ]
  puts html, page_name unless directive_section
  directives = directive_section.scan( %r{<a name="([^.][^"]+)" id="[^"]+"></a><h2>} ).flatten
  #directives.reject!{ |directive| directive =~ /^var_/ } # No variables, pls
  directives.each{ |directive| all_directives[ directive ]  << page_name }
}

require 'erb'
puts ERB.new(DATA.read).result(binding)

__END__
= Directive Index =

''This page was generated automatically by crawling module pages on <%=Time.now.strftime '%Y-%b-%d'%>;''
''any changes to the module pages made after that date will not be reflected below.''
''Directives in modules whose markup does not follow the convention may not be listed.''

{| border="1"
|-
! '''Directive'''
! '''Module'''
<%
all_directives.keys.sort.each{ |key|
  # Some directives are present in more than one module
  all_directives[key] .uniq.each{ |module_name|
    link = "#{module_name}##{key}"
    _erbout << "|-\n"
    %>|| [[<%=link%>|<%=key%>]]  || [[<%=module_name%>]]<%
    _erbout << "\n"
  }
}
%>
|}

The Ruby code that generated this page:
<pre>
<%=File.read($0)%>