@@ -122,6 +122,8 @@ documentation of `ngx_http_lua_module` for more details about their usage and be
122
122
* [ init_worker_by_lua_file] ( https://github.com/openresty/lua-nginx-module#init_worker_by_lua_file )
123
123
* [ content_by_lua_block] ( https://github.com/openresty/lua-nginx-module#content_by_lua_block )
124
124
* [ content_by_lua_file] ( https://github.com/openresty/lua-nginx-module#content_by_lua_file )
125
+ * [ balancer_by_lua_block] ( https://github.com/openresty/lua-nginx-module#balancer_by_lua_block )
126
+ * [ balancer_by_lua_file] ( https://github.com/openresty/lua-nginx-module#balancer_by_lua_file )
125
127
* [ lua_shared_dict] ( https://github.com/openresty/lua-nginx-module#lua_shared_dict )
126
128
* [ lua_socket_connect_timeout] ( https://github.com/openresty/lua-nginx-module#lua_socket_connect_timeout )
127
129
* [ lua_socket_buffer_size] ( https://github.com/openresty/lua-nginx-module#lua_socket_buffer_size )
@@ -254,6 +256,9 @@ output to be completely flushed out (to the system socket send buffers).
254
256
* [ ngx.worker.pid] ( https://github.com/openresty/lua-nginx-module#ngxworkerpid )
255
257
* [ ngx.worker.count] ( https://github.com/openresty/lua-nginx-module#ngxworkercount )
256
258
* [ ngx.worker.id] ( https://github.com/openresty/lua-nginx-module#ngxworkerid )
259
+ * [ ngx.balancer] ( https://github.com/openresty/lua-nginx-module#ngxbalancer )
260
+
261
+ For now, only ` set_current_peer ` and ` set_more_tries ` (Not respect ` proxy_next_upstream_tries ` ) provided.
257
262
* [ coroutine.create] ( https://github.com/openresty/lua-nginx-module#coroutinecreate )
258
263
* [ coroutine.resume] ( https://github.com/openresty/lua-nginx-module#coroutineresume )
259
264
* [ coroutine.yield] ( https://github.com/openresty/lua-nginx-module#coroutineyield )
268
273
269
274
* Add new directives ` access_by_lua_block ` and ` access_by_lua_file ` .
270
275
* Add new directives ` log_by_lua_block ` and ` log_by_lua_file ` .
271
- * Add new directives ` balancer_by_lua_block ` and ` balancer_by_lua_file ` .
276
+ * Add ` set_timeouts ` in ` ngx.balancer ` and respect ` proxy_next_upstream_tries ` for ` set_more_tries ` .
272
277
* Add new directives ` ssl_certificate_by_lua_block ` and ` ssl_certificate_by_lua_file ` .
273
278
* Add ` ngx.semaphore ` API.
274
279
* Add ` ngx_meta_lua_module ` to share as much code as possible between this module and ` ngx_http_lua_module ` and allow sharing
0 commit comments