Permalink
Browse files

documented the rewrite_by_lua_no_postpone directive.

  • Loading branch information...
1 parent 8f6fab6 commit 6446ee71b8a86e98a849e778cacf7a03f06b1b38 @agentzh agentzh committed May 27, 2012
Showing with 39 additions and 0 deletions.
  1. +14 −0 README
  2. +13 −0 README.markdown
  3. +12 −0 doc/HttpLuaModule.wiki
View
14 README
@@ -907,6 +907,20 @@ Directives
This directive was first introduced in the "v0.5.0rc19" release.
+ rewrite_by_lua_no_postpone
+ syntax: *rewrite_by_lua_no_postpone on|off*
+
+ default: *rewrite_by_lua_no_postpone off*
+
+ context: *http, server, location, location-if*
+
+ Controls whether or not to disable postponing rewrite_by_lua and
+ rewrite_by_lua_file directives to run at the end of the "rewrite"
+ request-processing phase. By default, this directive is turned off and
+ the Lua code is postponed to run at the end of the "rewrite" phase.
+
+ This directive was first introduced in the "v0.5.0rc29" release.
+
Nginx API for Lua
Introduction
The various *_by_lua and *_by_lua_file configuration directives serve as
View
@@ -828,6 +828,19 @@ This directive is turned `on` by default.
This directive was first introduced in the `v0.5.0rc19` release.
+rewrite_by_lua_no_postpone
+--------------------------
+
+**syntax:** *rewrite_by_lua_no_postpone on|off*
+
+**default:** *rewrite_by_lua_no_postpone off*
+
+**context:** *http, server, location, location-if*
+
+Controls whether or not to disable postponing [rewrite_by_lua](http://wiki.nginx.org/HttpLuaModule#rewrite_by_lua) and [rewrite_by_lua_file](http://wiki.nginx.org/HttpLuaModule#rewrite_by_lua_file) directives to run at the end of the `rewrite` request-processing phase. By default, this directive is turned off and the Lua code is postponed to run at the end of the `rewrite` phase.
+
+This directive was first introduced in the `v0.5.0rc29` release.
+
Nginx API for Lua
=================
Introduction
View
@@ -793,6 +793,18 @@ This directive is turned <code>on</code> by default.
This directive was first introduced in the <code>v0.5.0rc19</code> release.
+== rewrite_by_lua_no_postpone ==
+
+'''syntax:''' ''rewrite_by_lua_no_postpone on|off''
+
+'''default:''' ''rewrite_by_lua_no_postpone off''
+
+'''context:''' ''http, server, location, location-if''
+
+Controls whether or not to disable postponing [[#rewrite_by_lua|rewrite_by_lua]] and [[#rewrite_by_lua_file|rewrite_by_lua_file]] directives to run at the end of the <code>rewrite</code> request-processing phase. By default, this directive is turned off and the Lua code is postponed to run at the end of the <code>rewrite</code> phase.
+
+This directive was first introduced in the <code>v0.5.0rc29</code> release.
+
= Nginx API for Lua =
== Introduction ==
The various <code>*_by_lua</code> and <code>*_by_lua_file</code> configuration directives serve as gateways to the Lua API within the <code>nginx.conf</code> file. The Nginx Lua API described below can only be called within the user Lua code run in the context of these configuration directives.

0 comments on commit 6446ee7

Please sign in to comment.