{"id":19468433,"url":"https://github.com/noahbailey/ansible-nginx-certbot","last_synced_at":"2026-05-06T01:35:39.658Z","repository":{"id":187725540,"uuid":"197681879","full_name":"noahbailey/ansible-nginx-certbot","owner":"noahbailey","description":"Setup a simple reverse proxy with Certbot TLS ","archived":false,"fork":false,"pushed_at":"2021-03-21T01:16:34.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T14:33:39.695Z","etag":null,"topics":["acme","ansible-role","certbot","cloudflare","letsencrypt","nginx","proxy"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noahbailey.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}},"created_at":"2019-07-19T01:41:57.000Z","updated_at":"2021-04-23T23:49:44.000Z","dependencies_parsed_at":"2023-08-11T23:23:20.488Z","dependency_job_id":null,"html_url":"https://github.com/noahbailey/ansible-nginx-certbot","commit_stats":null,"previous_names":["noahbailey/ansible-nginx-certbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/noahbailey/ansible-nginx-certbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahbailey%2Fansible-nginx-certbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahbailey%2Fansible-nginx-certbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahbailey%2Fansible-nginx-certbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahbailey%2Fansible-nginx-certbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noahbailey","download_url":"https://codeload.github.com/noahbailey/ansible-nginx-certbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noahbailey%2Fansible-nginx-certbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281047794,"owners_count":26435124,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["acme","ansible-role","certbot","cloudflare","letsencrypt","nginx","proxy"],"created_at":"2024-11-10T18:41:07.923Z","updated_at":"2025-10-26T01:36:44.776Z","avatar_url":"https://github.com/noahbailey.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-nginx-certbot\nSetup a simple reverse proxy with Certbot TLS \n\nComponents: \n* Nginx web server and front end proxy\n* Certbot TLS certificate authority\n* CloudFlare DNS service\n\nThis role takes data from ansible variables and uses it to configure a basic Nginx reverse proxy server. \n\n## Usage\n\nAdd this role to the `roles` directory in your ansible project.\n\nThen, include the role using a top level playbook:\n\n```yaml\n- name: Proxy servers\n  hosts: proxy-servers\n  become: true \n  roles: \n  - ansible-nginx-certbot\n```\n\n## Variables\n\nThis role requires these variables to exist in inventory:\n\n#### 1. Sites \n\nThis is a list of sites or web applications that will run behind the proxy server. It is formatted as a list of mappings. \n\nMultiple backend servers can be defined. By default, it will configure src address load balancing when there is more than one backend server defined. \n\n```yaml\nsites: \n- name: app1.gablogianartcollection.org\n  backends: \n    - host: 10.10.10.11\n    - host: 10.10.10.12\n```\n\n#### 2. Cloudflare Account\n\nTo create DNS records a CloudFlare global API key is required. \n\n```yaml\ncloudflare: \n  api_key: aaaaaazzzzzz\n  email:  ongo@gablogianartcollection.org\n  domain: gablogianartcollection.org\n```\n\nSince the API key essentially grants full access to the account it should be stored securely in Ansible Vault before it is added to a git repository. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahbailey%2Fansible-nginx-certbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoahbailey%2Fansible-nginx-certbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoahbailey%2Fansible-nginx-certbot/lists"}