{"id":17224880,"url":"https://github.com/pseudomuto/chef-open_resty","last_synced_at":"2025-03-25T16:44:49.732Z","repository":{"id":34298551,"uuid":"38202070","full_name":"pseudomuto/chef-open_resty","owner":"pseudomuto","description":"A cookbook for installing and configuration Open Resty","archived":false,"fork":false,"pushed_at":"2015-12-23T19:28:23.000Z","size":38,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T14:52:46.872Z","etag":null,"topics":[],"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/pseudomuto.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}},"created_at":"2015-06-28T14:37:25.000Z","updated_at":"2015-06-28T20:02:29.000Z","dependencies_parsed_at":"2022-09-14T03:31:38.299Z","dependency_job_id":null,"html_url":"https://github.com/pseudomuto/chef-open_resty","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pseudomuto%2Fchef-open_resty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pseudomuto%2Fchef-open_resty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pseudomuto%2Fchef-open_resty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pseudomuto%2Fchef-open_resty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pseudomuto","download_url":"https://codeload.github.com/pseudomuto/chef-open_resty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245503527,"owners_count":20626185,"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":[],"created_at":"2024-10-15T04:12:14.980Z","updated_at":"2025-03-25T16:44:49.712Z","avatar_url":"https://github.com/pseudomuto.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# open_resty\n[![Build Status](https://travis-ci.org/pseudomuto/chef-open_resty.svg?branch=master)](https://travis-ci.org/pseudomuto/chef-open_resty)\n\nA cookbook for installing [openresty].\n\n## Dependencies\n\n* `apt`\n* `ark`\n\n## Basic Usage\n\n```json\nrun_list: [\"recipe[open_resty]\"],\n\"default_attributes\": {\n  \"open_resty\": {\n    ...\n  }\n}\n```\n\n## Attributes\n\n### Default\nName | Description | Default\n-----| ----------- | -------\n`node[\"open_resty\"][\"user\"]` | The user to run as | `www-data`\n`node[\"open_resty\"][\"home\"]` | The home directory for nginx | `/var/www`\n\n### Source\nName | Description | Default\n-----| ----------- | -------\n`node[\"open_resty\"][\"source\"][\"version\"]` | The version to install | `1.9.3.2`\n`node[\"open_resty\"][\"source\"][\"checksum\"]` | The checksum for the version | see _attributes/default.rb_\n\n### Nginx\nName | Description | Default\n-----| ----------- | -------\n`node[\"open_resty\"][\"nginx\"][\"dir\"]` | Where to setup nginx | `/etc/nginx`\n`node[\"open_resty\"][\"nginx\"][\"log_dir\"]` | Nginx log directory | `/var/log/nginx`\n\n#### These all correlate to nginx directives (of the same name)\nName | Default\n-----| -------\n`node[\"open_resty\"][\"nginx\"][\"worker_processes\"]` | `auto` - 1 per CPU\n`node[\"open_resty\"][\"nginx\"][\"worker_rlimit_nofile\"]` | `200,000`\n`node[\"open_resty\"][\"nginx\"][\"worker_connections\"]` | `4096`\n`node[\"open_resty\"][\"nginx\"][\"pid\"]` | `/var/run/nginx.pid`\n`node[\"open_resty\"][\"nginx\"][\"gzip\"]` | `on`\n`node[\"open_resty\"][\"nginx\"][\"gzip_buffers\"]` | `16 8k`\n`node[\"open_resty\"][\"nginx\"][\"gzip_http_version\"]` | `1.0`\n`node[\"open_resty\"][\"nginx\"][\"gzip_comp_level\"]` | `6`\n`node[\"open_resty\"][\"nginx\"][\"gzip_min_length\"]` | `256`\n`node[\"open_resty\"][\"nginx\"][\"gzip_proxied\"]` | `any`\n`node[\"open_resty\"][\"nginx\"][\"gzip_disable\"]` | `MSIE [1-6]\\.(?!\\.*SV1)`\n`node[\"open_resty\"][\"nginx\"][\"gzip_vary\"]` | `on`\n`node[\"open_resty\"][\"nginx\"][\"gzip_types\"]` | _see attributes/nginx.rb_\n`node[\"open_resty\"][\"nginx\"][\"open_file_cache_max\"]` | `1000`\n`node[\"open_resty\"][\"nginx\"][\"open_file_cache_inactive\"]` | `20s`\n`node[\"open_resty\"][\"nginx\"][\"open_file_cache_valid\"]` | `30s`\n`node[\"open_resty\"][\"nginx\"][\"open_file_cache_min_uses\"]` | `2`\n`node[\"open_resty\"][\"nginx\"][\"open_file_cache_errors\"]` | `on`\n`node[\"open_resty\"][\"nginx\"][\"server_names_hash_bucket_size\"]` | `64`\n`node[\"open_resty\"][\"nginx\"][\"types_hash_bucket_size\"]` | `64`\n`node[\"open_resty\"][\"nginx\"][\"types_hash_max_size\"]` | `2048`\n`node[\"open_resty\"][\"nginx\"][\"client_body_buffer_size\"]` | `8k`\n`node[\"open_resty\"][\"nginx\"][\"client_max_body_size\"]` | `20M`\n`node[\"open_resty\"][\"nginx\"][\"large_client_header_buffers\"]` | `32 32k`\n`node[\"open_resty\"][\"nginx\"][\"lua_use_default_type\"]` | `off`\n`node[\"open_resty\"][\"nginx\"][\"lua_package_path\"]` | `;;`\n`node[\"open_resty\"][\"nginx\"][\"lua_package_cpath\"]` | `;;`\n\n#### Lua Settings\nName | Description | Default\n-----| ----------- | -------\n`node[\"open_resty\"][\"lua_modules\"]` | An array of modules to make available during `init_by_lua` | `[]`\n\n[openresty]: http://www.openresty.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpseudomuto%2Fchef-open_resty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpseudomuto%2Fchef-open_resty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpseudomuto%2Fchef-open_resty/lists"}