diff --git a/doc/HttpLuaModule.wiki b/doc/HttpLuaModule.wiki index 18473ce799..979ed9841b 100644 --- a/doc/HttpLuaModule.wiki +++ b/doc/HttpLuaModule.wiki @@ -1090,7 +1090,7 @@ A zero value of `` disables the cache. Note that this feature requires OpenResty's LuaJIT with the new C API `lua_resetthread`. -This feature was first introduced in verson `v0.10.9`. +This feature was first introduced in version `v0.10.9`. == lua_regex_cache_max_entries == @@ -5554,7 +5554,7 @@ Returns a formatted string can be used as the cookie expiration time. The parame '''context:''' ''init_worker_by_lua*, set_by_lua*, rewrite_by_lua*, access_by_lua*, content_by_lua*, header_filter_by_lua*, body_filter_by_lua*, log_by_lua*, ngx.timer.*, balancer_by_lua*, ssl_certificate_by_lua*, ssl_session_fetch_by_lua*, ssl_session_store_by_lua*, exit_worker_by_lua*, ssl_client_hello_by_lua*'' -Returns a formated string can be used as the http header time (for example, being used in Last-Modified header). The parameter sec is the time stamp in seconds (like those returned from [[#ngx.time|ngx.time]]). +Returns a formatted string can be used as the http header time (for example, being used in Last-Modified header). The parameter sec is the time stamp in seconds (like those returned from [[#ngx.time|ngx.time]]). ngx.say(ngx.http_time(1290079655))