Lua

このドキュメントはopenresty/lua-nginx-module#readmeに移動しました。

Name

openresty/lua-nginx-module#nameを見てください

状態

openresty/lua-nginx-module#statusを見てください

バージョン

openresty/lua-nginx-module#versionを見てください

概要

openresty/lua-nginx-module#synopsisを見てください

説明

openresty/lua-nginx-module#descriptionを見てください

一般的な使い方

openresty/lua-nginx-module#typical-usesを見てください

NGINX 互換性

openresty/lua-nginx-module#nginx-compatibilityを見てください

インストール

openresty/lua-nginx-module#installationを見てください

C Macro 設定

openresty/lua-nginx-module#c-macro-configurationsを見てください

Ubuntu 11.10へのインストール

openresty/lua-nginx-module#installation-on-ubuntu-1110を見てください

コミュニティ

openresty/lua-nginx-module#communityを見てください

英語のメーリングリスト

openresty/lua-nginx-module#english-mailing-listを見てください

中国語のメーリングリスト

openresty/lua-nginx-module#chinese-mailing-listを見てください

ソースリポジトリ

openresty/lua-nginx-module#source-repositoryを見てください

バグとパッチ

openresty/lua-nginx-module#bugs-and-patchesを見てください

Lua/LuaJIT バイトコード サポート

openresty/lua-nginx-module#lualuajit-bytecode-supportを見てください

システム環境変数サポート

openresty/lua-nginx-module#system-environment-variable-supportを見てください

HTTP 1.0 サポート

openresty/lua-nginx-module#http-10-supportを見てください

ピュアLuaモジュールを静的にリンク

openresty/lua-nginx-module#statically-linking-pure-lua-modulesを見てください

NGINX Worker 内でのデータ共有

openresty/lua-nginx-module#data-sharing-within-an-nginx-workerを見てください

知られている問題

openresty/lua-nginx-module#known-issuesを見てください

TCP ソケット接続操作の問題

openresty/lua-nginx-module#tcp-socket-connect-operation-issuesを見てください

Lua Coroutine Yielding/Resuming

openresty/lua-nginx-module#lua-coroutine-yieldingresumingを見てください

Lua 変数のスコープ

openresty/lua-nginx-module#lua-variable-scopeを見てください

Locations Configured by Subrequest Directives of Other Modules

openresty/lua-nginx-module#locations-configured-by-subrequest-directives-of-other-modulesを見てください

Cosockets Not Available Everywhere

openresty/lua-nginx-module#cosockets-not-available-everywhereを見てください

特別なエスケープシーケンス

openresty/lua-nginx-module#special-escaping-sequencesを見てください

SSIとの混合はサポートされません

openresty/lua-nginx-module#mixing-with-ssi-not-supportedを見てください

SPDY モードは完全にはサポートされません

openresty/lua-nginx-module#spdy-mode-not-fully-supportedを見てください

Missing data on short circuited requests

openresty/lua-nginx-module#missing-data-on-short-circuited-requestsを見てください

TODO

openresty/lua-nginx-module#todoを見てください

変更

openresty/lua-nginx-module#changesを見てください

テストスィート

openresty/lua-nginx-module#test-suiteを見てください

これらも見てください

openresty/lua-nginx-module#see-alsoを見てください

ディレクティブ

openresty/lua-nginx-module#directivesを見てください

lua_use_default_type

openresty/lua-nginx-module#lua_use_default_typeを見てください

lua_code_cache

openresty/lua-nginx-module#lua_code_cacheを見てください

lua_regex_cache_max_entries

openresty/lua-nginx-module#lua_regex_cache_max_entriesを見てください

lua_regex_match_limit

openresty/lua-nginx-module#lua_regex_match_limitを見てください

lua_package_path

openresty/lua-nginx-module#lua_package_pathを見てください

lua_package_cpath

openresty/lua-nginx-module#lua_package_cpathを見てください

init_by_lua

openresty/lua-nginx-module#init_by_luaを見てください

init_by_lua_file

openresty/lua-nginx-module#init_by_lua_fileを見てください

init_worker_by_lua

openresty/lua-nginx-module#init_worker_by_luaを見てください

init_worker_by_lua_file

openresty/lua-nginx-module#init_worker_by_lua_fileを見てください

set_by_lua

openresty/lua-nginx-module#set_by_luaを見てください

set_by_lua_file

openresty/lua-nginx-module#set_by_lua_fileを見てください

content_by_lua

openresty/lua-nginx-module#content_by_luaを見てください

content_by_lua_file

openresty/lua-nginx-module#content_by_lua_fileを見てください

rewrite_by_lua

openresty/lua-nginx-module#rewrite_by_luaを見てください

rewrite_by_lua_file

openresty/lua-nginx-module#rewrite_by_lua_fileを見てください

access_by_lua

openresty/lua-nginx-module#access_by_luaを見てください

access_by_lua_file

openresty/lua-nginx-module#access_by_lua_fileを見てください

header_filter_by_lua

openresty/lua-nginx-module#header_filter_by_luaを見てください

header_filter_by_lua_file

openresty/lua-nginx-module#header_filter_by_lua_fileを見てください

body_filter_by_lua

openresty/lua-nginx-module#body_filter_by_luaを見てください

body_filter_by_lua_file

openresty/lua-nginx-module#body_filter_by_lua_fileを見てください

log_by_lua

openresty/lua-nginx-module#log_by_luaを見てください

log_by_lua_file

openresty/lua-nginx-module#log_by_lua_fileを見てください

lua_need_request_body

openresty/lua-nginx-module#lua_need_request_bodyを見てください

lua_shared_dict

openresty/lua-nginx-module#lua_shared_dictを見てください

lua_socket_connect_timeout

openresty/lua-nginx-module#lua_socket_connect_timeoutを見てください

lua_socket_send_timeout

openresty/lua-nginx-module#lua_socket_send_timeoutを見てください

lua_socket_send_lowat

openresty/lua-nginx-module#lua_socket_send_lowatを見てください

lua_socket_read_timeout

openresty/lua-nginx-module#lua_socket_read_timeoutを見てください

lua_socket_buffer_size

openresty/lua-nginx-module#lua_socket_buffer_sizeを見てください

lua_socket_pool_size

openresty/lua-nginx-module#lua_socket_pool_sizeを見てください

lua_socket_keepalive_timeout

openresty/lua-nginx-module#lua_socket_keepalive_timeoutを見てください

lua_socket_log_errors

openresty/lua-nginx-module#lua_socket_log_errorsを見てください

lua_ssl_ciphers

openresty/lua-nginx-module#lua_ssl_ciphersを見てください

lua_ssl_crl

openresty/lua-nginx-module#lua_ssl_crlを見てください

lua_ssl_protocols

openresty/lua-nginx-module#lua_ssl_protocolsを見てください

lua_ssl_trusted_certificate

openresty/lua-nginx-module#lua_ssl_trusted_certificateを見てください

lua_ssl_verify_depth

openresty/lua-nginx-module#lua_ssl_verify_depthを見てください

lua_http10_buffering

openresty/lua-nginx-module#lua_http10_bufferingを見てください

rewrite_by_lua_no_postpone

openresty/lua-nginx-module#rewrite_by_lua_no_postponeを見てください

lua_transform_underscores_in_response_headers

openresty/lua-nginx-module#lua_transform_underscores_in_response_headersを見てください

lua_check_client_abort

openresty/lua-nginx-module#lua_check_client_abortを見てください

lua_max_pending_timers

openresty/lua-nginx-module#lua_max_pending_timersを見てください

lua_max_running_timers

openresty/lua-nginx-module#lua_max_running_timersを見てください

NGINX API for Lua

openresty/lua-nginx-module#nginx-api-for-luaを見てください

はじめに

openresty/lua-nginx-module#introductionを見てください

ngx.arg

openresty/lua-nginx-module#ngxargを見てください

ngx.var.VARIABLE

openresty/lua-nginx-module#ngxvarvariableを見てください

Core constants

openresty/lua-nginx-module#core-constantsを見てください

HTTP method constants

openresty/lua-nginx-module#http-method-constantsを見てください

HTTP status constants

openresty/lua-nginx-module#http-status-constantsを見てください

NGINX log level constants

openresty/lua-nginx-module#nginx-log-level-constantsを見てください

print

openresty/lua-nginx-module#printを見てください

ngx.ctx

openresty/lua-nginx-module#ngxctxを見てください

ngx.location.capture

openresty/lua-nginx-module#ngxlocationcaptureを見てください

ngx.location.capture_multi

openresty/lua-nginx-module#ngxlocationcapture_multiを見てください

ngx.status

openresty/lua-nginx-module#ngxstatusを見てください

ngx.header.HEADER

openresty/lua-nginx-module#ngxheaderheaderを見てください

ngx.resp.get_headers

openresty/lua-nginx-module#ngxrespget_headersを見てください

ngx.req.start_time

openresty/lua-nginx-module#ngxreqstart_timeを見てください

ngx.req.http_version

openresty/lua-nginx-module#ngxreqhttp_versionを見てください

ngx.req.raw_header

openresty/lua-nginx-module#ngxreqraw_headerを見てください

ngx.req.get_method

openresty/lua-nginx-module#ngxreqget_methodを見てください

ngx.req.set_method

openresty/lua-nginx-module#ngxreqset_methodを見てください

ngx.req.set_uri

openresty/lua-nginx-module#ngxreqset_uriを見てください

ngx.req.set_uri_args

openresty/lua-nginx-module#ngxreqset_uri_argsを見てください

ngx.req.get_uri_args

openresty/lua-nginx-module#ngxreqget_uri_argsを見てください

ngx.req.get_post_args

openresty/lua-nginx-module#ngxreqget_post_argsを見てください

ngx.req.get_headers

openresty/lua-nginx-module#ngxreqget_headersを見てください

ngx.req.set_header

openresty/lua-nginx-module#ngxreqset_headerを見てください

ngx.req.clear_header

openresty/lua-nginx-module#ngxreqclear_headerを見てください

ngx.req.read_body

openresty/lua-nginx-module#ngxreqread_bodyを見てください

ngx.req.discard_body

openresty/lua-nginx-module#ngxreqdiscard_bodyを見てください

ngx.req.get_body_data

openresty/lua-nginx-module#ngxreqget_body_dataを見てください

ngx.req.get_body_file

openresty/lua-nginx-module#ngxreqget_body_fileを見てください

ngx.req.set_body_data

openresty/lua-nginx-module#ngxreqset_body_dataを見てください

ngx.req.set_body_file

openresty/lua-nginx-module#ngxreqset_body_fileを見てください

ngx.req.init_body

openresty/lua-nginx-module#ngxreqinit_bodyを見てください

ngx.req.append_body

openresty/lua-nginx-module#ngxreqappend_bodyを見てください

ngx.req.finish_body

openresty/lua-nginx-module#ngxreqfinish_bodyを見てください

ngx.req.socket

openresty/lua-nginx-module#ngxreqsocketを見てください

ngx.exec

openresty/lua-nginx-module#ngxexecを見てください

ngx.redirect

openresty/lua-nginx-module#ngxredirectを見てください

ngx.send_headers

openresty/lua-nginx-module#ngxsend_headersを見てください

ngx.headers_sent

openresty/lua-nginx-module#ngxheaders_sentを見てください

ngx.print

openresty/lua-nginx-module#ngxprintを見てください

ngx.say

openresty/lua-nginx-module#ngxsayを見てください

ngx.log

openresty/lua-nginx-module#ngxlogを見てください

ngx.flush

openresty/lua-nginx-module#ngxflushを見てください

ngx.exit

openresty/lua-nginx-module#ngxexitを見てください

ngx.eof

openresty/lua-nginx-module#ngxeofを見てください

ngx.sleep

openresty/lua-nginx-module#ngxsleepを見てください

ngx.escape_uri

openresty/lua-nginx-module#ngxescape_uriを見てください

ngx.unescape_uri

openresty/lua-nginx-module#ngxunescape_uriを見てください

ngx.encode_args

openresty/lua-nginx-module#ngxencode_argsを見てください

ngx.decode_args

openresty/lua-nginx-module#ngxdecode_argsを見てください

ngx.encode_base64

openresty/lua-nginx-module#ngxencode_base64を見てください

ngx.decode_base64

openresty/lua-nginx-module#ngxdecode_base64を見てください

ngx.crc32_short

openresty/lua-nginx-module#ngxcrc32_shortを見てください

ngx.crc32_long

openresty/lua-nginx-module#ngxcrc32_longを見てください

ngx.hmac_sha1

openresty/lua-nginx-module#ngxhmac_sha1を見てください

ngx.md5

openresty/lua-nginx-module#ngxmd5を見てください

ngx.md5_bin

openresty/lua-nginx-module#ngxmd5_binを見てください

ngx.sha1_bin

openresty/lua-nginx-module#ngxsha1_binを見てください

ngx.quote_sql_str

openresty/lua-nginx-module#ngxquote_sql_strを見てください

ngx.today

openresty/lua-nginx-module#ngxtodayを見てください

ngx.time

openresty/lua-nginx-module#ngxtimeを見てください

ngx.now

openresty/lua-nginx-module#ngxnowを見てください

ngx.update_time

openresty/lua-nginx-module#ngxupdate_timeを見てください

ngx.localtime

openresty/lua-nginx-module#ngxlocaltimeを見てください

ngx.utctime

openresty/lua-nginx-module#ngxutctimeを見てください

ngx.http_time

openresty/lua-nginx-module#ngxhttp_timeを見てください

ngx.parse_http_time

openresty/lua-nginx-module#ngxparse_http_timeを見てください

ngx.is_subrequest

openresty/lua-nginx-module#ngxis_subrequestを見てください

ngx.re.match

openresty/lua-nginx-module#ngxrematchを見てください

ngx.re.find

openresty/lua-nginx-module#ngxrefindを見てください

ngx.re.gmatch

openresty/lua-nginx-module#ngxregmatchを見てください

ngx.re.sub

openresty/lua-nginx-module#ngxresubを見てください

ngx.re.gsub

openresty/lua-nginx-module#ngxregsubを見てください

ngx.shared.DICT

openresty/lua-nginx-module#ngxshareddictを見てください

ngx.shared.DICT.get

openresty/lua-nginx-module#ngxshareddictgetを見てください

ngx.shared.DICT.get_stale

openresty/lua-nginx-module#ngxshareddictget_staleを見てください

ngx.shared.DICT.set

openresty/lua-nginx-module#ngxshareddictsetを見てください

ngx.shared.DICT.safe_set

openresty/lua-nginx-module#ngxshareddictsafe_setを見てください

ngx.shared.DICT.add

openresty/lua-nginx-module#ngxshareddictaddを見てください

ngx.shared.DICT.safe_add

openresty/lua-nginx-module#ngxshareddictsafe_addを見てください

ngx.shared.DICT.replace

openresty/lua-nginx-module#ngxshareddictreplaceを見てください

ngx.shared.DICT.delete

openresty/lua-nginx-module#ngxshareddictdeleteを見てください

ngx.shared.DICT.incr

openresty/lua-nginx-module#ngxshareddictincrを見てください

ngx.shared.DICT.flush_all

openresty/lua-nginx-module#ngxshareddictflush_allを見てください

ngx.shared.DICT.flush_expired

openresty/lua-nginx-module#ngxshareddictflush_expiredを見てください

ngx.shared.DICT.get_keys

openresty/lua-nginx-module#ngxshareddictget_keysを見てください

ngx.socket.udp

openresty/lua-nginx-module#ngxsocketudpを見てください

udpsock:setpeername

openresty/lua-nginx-module#udpsocksetpeernameを見てください

udpsock:send

openresty/lua-nginx-module#udpsocksendを見てください

udpsock:receive

openresty/lua-nginx-module#udpsockreceiveを見てください

udpsock:close

openresty/lua-nginx-module#udpsockcloseを見てください

udpsock:settimeout

openresty/lua-nginx-module#udpsocksettimeoutを見てください

ngx.socket.tcp

openresty/lua-nginx-module#ngxsockettcpを見てください

tcpsock:connect

openresty/lua-nginx-module#tcpsockconnectを見てください

tcpsock:sslhandshake

openresty/lua-nginx-module#tcpsocksslhandshakeを見てください

tcpsock:send

openresty/lua-nginx-module#tcpsocksendを見てください

tcpsock:receive

openresty/lua-nginx-module#tcpsockreceiveを見てください

tcpsock:receiveuntil

openresty/lua-nginx-module#tcpsockreceiveuntilを見てください

tcpsock:close

openresty/lua-nginx-module#tcpsockcloseを見てください

tcpsock:settimeout

openresty/lua-nginx-module#tcpsocksettimeoutを見てください

tcpsock:setoption

openresty/lua-nginx-module#tcpsocksetoptionを見てください

tcpsock:setkeepalive

openresty/lua-nginx-module#tcpsocksetkeepaliveを見てください

tcpsock:getreusedtimes

openresty/lua-nginx-module#tcpsockgetreusedtimesを見てください

ngx.socket.connect

openresty/lua-nginx-module#ngxsocketconnectを見てください

ngx.get_phase

openresty/lua-nginx-module#ngxget_phaseを見てください

ngx.thread.spawn

openresty/lua-nginx-module#ngxthreadspawnを見てください

ngx.thread.wait

openresty/lua-nginx-module#ngxthreadwaitを見てください

ngx.thread.kill

openresty/lua-nginx-module#ngxthreadkillを見てください

ngx.on_abort

openresty/lua-nginx-module#ngxon_abortを見てください

ngx.timer.at

openresty/lua-nginx-module#ngxtimeratを見てください

ngx.config.debug

openresty/lua-nginx-module#ngxconfigdebugを見てください

ngx.config.prefix

openresty/lua-nginx-module#ngxconfigprefixを見てください

ngx.config.nginx_version

openresty/lua-nginx-module#ngxconfignginx_versionを見てください

ngx.config.nginx_configure

openresty/lua-nginx-module#ngxconfignginx_configureを見てください

ngx.config.ngx_lua_version

openresty/lua-nginx-module#ngxconfigngx_lua_versionを見てください

ngx.worker.exiting

openresty/lua-nginx-module#ngxworkerexitingを見てください

ngx.worker.pid

openresty/lua-nginx-module#ngxworkerpidを見てください

ndk.set_var.DIRECTIVE

openresty/lua-nginx-module#ndkset_vardirectiveを見てください

coroutine.create

openresty/lua-nginx-module#coroutinecreateを見てください

coroutine.resume

openresty/lua-nginx-module#coroutineresumeを見てください

coroutine.yield

openresty/lua-nginx-module#coroutineyieldを見てください

coroutine.wrap

openresty/lua-nginx-module#coroutinewrapを見てください

coroutine.running

openresty/lua-nginx-module#coroutinerunningを見てください

coroutine.status

openresty/lua-nginx-module#coroutinestatusを見てください

Obsolete Sections

openresty/lua-nginx-module#obsolete-sectionsを見てください

Special PCRE Sequences

openresty/lua-nginx-module#special-pcre-sequencesを見てください

inserted by FC2 system