{"id":16634145,"url":"https://github.com/yano3/http-mruby-info","last_synced_at":"2025-03-11T22:44:20.717Z","repository":{"id":66560730,"uuid":"72408232","full_name":"yano3/http-mruby-info","owner":"yano3","description":"Show versions of web server and mruby extension using mruby code.","archived":false,"fork":false,"pushed_at":"2016-10-31T13:30:38.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-04-12T11:53:13.059Z","etag":null,"topics":["mod-mruby","ngx-mruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/yano3.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-10-31T06:18:20.000Z","updated_at":"2017-03-13T03:03:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9d67a4d-b898-4d62-81ea-8ec38984fd58","html_url":"https://github.com/yano3/http-mruby-info","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yano3%2Fhttp-mruby-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yano3%2Fhttp-mruby-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yano3%2Fhttp-mruby-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yano3%2Fhttp-mruby-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yano3","download_url":"https://codeload.github.com/yano3/http-mruby-info/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243125637,"owners_count":20240276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["mod-mruby","ngx-mruby"],"created_at":"2024-10-12T05:29:48.620Z","updated_at":"2025-03-11T22:44:20.697Z","avatar_url":"https://github.com/yano3.png","language":"Ruby","readme":"# http-mruby-info\n\nShow versions of web server and mruby extension using mruby code.\n\n## Configuration\n\n### Nginx with ngx\\_mruby\n\n```nginx\nlocation /info {\n  mruby_content_handler /path/to/nginx/conf.d/mruby_info/mruby_info.rb cache;\n}\n```\n\n```shell\n$ curl -s http://localhost/info | jq\n{\n  \"server_name\": \"NGINX\",\n  \"server_version\": \"1.11.4\",\n  \"mruby_version\": \"1.2.0\",\n  \"module_name\": \"ngx_mruby\",\n  \"module_version\": \"1.18.3\"\n}\n```\n\n### Apache with mod\\_mruby\n\n```apache\n\u003cLocation /info\u003e\n    mrubyHandlerMiddle /path/to/httpd/conf.d/mruby_info/mruby_info.rb cache\n\u003c/Location\u003e\n```\n\n```shell\n$ curl -s http://localhost/info | jq\n{\n  \"server_name\": \"Apache\",\n  \"server_version\": \"Apache/2.4.7 (Ubuntu)\",\n  \"mruby_version\": \"1.2.0\",\n  \"module_name\": \"mod_mruby\",\n  \"module_version\": \"1.13.11\"\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyano3%2Fhttp-mruby-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyano3%2Fhttp-mruby-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyano3%2Fhttp-mruby-info/lists"}