{"id":16421575,"url":"https://github.com/cdriehuys/ansible-role-nginx","last_synced_at":"2026-05-08T19:32:05.925Z","repository":{"id":79375881,"uuid":"87651338","full_name":"cdriehuys/ansible-role-nginx","owner":"cdriehuys","description":"Ansible role for installing and configuring nginx.","archived":false,"fork":false,"pushed_at":"2017-04-08T21:40:18.000Z","size":14,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T14:55:08.081Z","etag":null,"topics":["ansible-role","nginx"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdriehuys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-04-08T17:25:56.000Z","updated_at":"2018-08-25T12:13:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e012099-e4dd-4165-939c-a64438606a66","html_url":"https://github.com/cdriehuys/ansible-role-nginx","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cdriehuys/ansible-role-nginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdriehuys%2Fansible-role-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdriehuys%2Fansible-role-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdriehuys%2Fansible-role-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdriehuys%2Fansible-role-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdriehuys","download_url":"https://codeload.github.com/cdriehuys/ansible-role-nginx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdriehuys%2Fansible-role-nginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32794604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["ansible-role","nginx"],"created_at":"2024-10-11T07:33:49.563Z","updated_at":"2026-05-08T19:32:05.905Z","avatar_url":"https://github.com/cdriehuys.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"cdriehuys.nginx\n=========\n\nInstall and configure NGINX.\n\nRequirements\n------------\n\nNone.\n\nRole Variables\n--------------\n\nThe following are the variables used by the role and their defaults.\n\n```YAML\napt_cache_time: 3600\n\nnginx_user: nginx\nnginx_user_groups: []\n\nnginx_conf_root: /etc/nginx\nnginx_conf_path: \"{{ nginx_conf_root }}/nginx.conf\"\nnginx_site_conf_name: \"{{ inventory_hostname }}.conf\"\nnginx_site_conf: \"{{ nginx_conf_root }}/sites-available/{{ nginx_site_conf_name }}\"\nnginx_enabled_site_conf: \"{{ nginx_conf_root }}/sites-enabled/{{ nginx_site_conf_name }}\"\n\nnginx_site_root: /var/www/{{ inventory_hostname }}\nnginx_site_root_mode: 0755\nnginx_site_root_file_mode: 0644\n\nnginx_site_servers: []\n\n# Here's an example server entry\nnginx_site_servers:\n  - name: example.com\n    listen: 80\n    extra_params: |\n        location / {\n            alias /path/to/files;\n        }\n```\n\nDependencies\n------------\n\nNone.\n\nExample Playbook\n----------------\n\nTo run the role, include it as follows.\n\n    - hosts: all\n      roles:\n         - cdriehuys.nginx\n\nLicense\n-------\n\nMIT\n\nAuthor Information\n------------------\n\nChathan Driehuys (cdriehuys@gmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdriehuys%2Fansible-role-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdriehuys%2Fansible-role-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdriehuys%2Fansible-role-nginx/lists"}