{"id":16904669,"url":"https://github.com/rainingmaster/lua-client-nginx-module","last_synced_at":"2026-05-10T19:55:02.663Z","repository":{"id":88266124,"uuid":"69344598","full_name":"rainingmaster/lua-client-nginx-module","owner":"rainingmaster","description":"Add a client module to openresty","archived":false,"fork":false,"pushed_at":"2016-09-30T07:57:07.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T15:52:04.564Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rainingmaster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-27T10:15:31.000Z","updated_at":"2016-09-30T08:08:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2ac34b6-02a0-4e48-8ffc-65e8585cd2ac","html_url":"https://github.com/rainingmaster/lua-client-nginx-module","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rainingmaster/lua-client-nginx-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainingmaster%2Flua-client-nginx-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainingmaster%2Flua-client-nginx-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainingmaster%2Flua-client-nginx-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainingmaster%2Flua-client-nginx-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rainingmaster","download_url":"https://codeload.github.com/rainingmaster/lua-client-nginx-module/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rainingmaster%2Flua-client-nginx-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32869721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"ssl_error","status_checked_at":"2026-05-10T13:40:02.145Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T18:34:50.884Z","updated_at":"2026-05-10T19:55:02.626Z","avatar_url":"https://github.com/rainingmaster.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Name\n====\n\nngx_http_lua_client - Nginx C module to access ngx_lua to execute the Lua code by a client.\n\n\nTable of Contents\n=================\n\n* [Name](#name)\n* [Installation](#installation)\n* [Directives](#directives)\n\n\nInstallation\n============\n\nThis module is not default in the Openresty\n\nYou can add like :\n```\n    ... ...\n    [http_lua_upstream =\u003e 'ngx_lua_upstream'],\n    [http_lua_client =\u003e 'ngx_lua_client'],\n    [http_headers_more =\u003e 'headers-more-nginx-module'],\n    ... ...\n```\n\nAnd add ngx_lua_client* direction in your bundle/, then just `configure` your openresty.\n\n\nDirectives\n==========\nWe have some ngxin setting, to set the connect host and port:\n\n* [lua_client_host](#lua_client_host)\n* [lua_client_port](#lua_client_port)\n\nAnd you can execute the lua-script through below command:\n\n* [execute lua-script](#execute lua-script)\n* [execute lua-file](#execute lua-file)\n\nlua_client_host\n---------------\n**syntax:** *lua_client_host ip*\n\n**default:** *lua_client_host 127.0.0.1*\n\n**context:** *http*\n\nSet the connection host.\n\nlua_client_port\n---------------\n**syntax:** *lua_client_port port*\n\n**default:** *lua_client_port 8220*\n\n**context:** *http*\n\nSet the connection port.\n\nexecute lua-script\n-------------\n\n```\n    ./resty-client -h 127.0.0.1 -p 8820 -e lua-script\n```\n\nexecute lua-file\n-------------\n\n```\n    ./resty-client -h 127.0.0.1 -p 8820 -f lua-file\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainingmaster%2Flua-client-nginx-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frainingmaster%2Flua-client-nginx-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainingmaster%2Flua-client-nginx-module/lists"}