{"id":18123294,"url":"https://github.com/jay-johnson/lets-encrypt-nginx","last_synced_at":"2025-07-10T10:42:12.540Z","repository":{"id":72596365,"uuid":"140235846","full_name":"jay-johnson/lets-encrypt-nginx","owner":"jay-johnson","description":"Another nginx docker container that automates registering and renewing Let's Encrypt x509 ssl certificates","archived":false,"fork":false,"pushed_at":"2018-07-09T07:30:56.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T18:49:59.168Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jay-johnson.png","metadata":{"files":{"readme":"README.rst","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":"2018-07-09T05:33:52.000Z","updated_at":"2018-07-10T04:35:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"da624a22-f3d7-4636-8557-62b5c5073aad","html_url":"https://github.com/jay-johnson/lets-encrypt-nginx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay-johnson%2Flets-encrypt-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay-johnson%2Flets-encrypt-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay-johnson%2Flets-encrypt-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay-johnson%2Flets-encrypt-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jay-johnson","download_url":"https://codeload.github.com/jay-johnson/lets-encrypt-nginx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485253,"owners_count":20946398,"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-11-01T07:09:00.577Z","updated_at":"2025-04-06T12:45:33.950Z","avatar_url":"https://github.com/jay-johnson.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Nginx with Let's Encrypt\n------------------------\n\nThis is a repository for deploying nginx with Let's Encrypt certificates inside a docker container. It uses an `nginx docker container \u003chttps://github.com/jay-johnson/docker-nginx\u003e`__ that is configured to register and renew certs while utilizing the volume-mounted nginx.conf after installing valid Let's Encrypt certificates.\n\nI use this container to secure my own projects:\n\n- `Blog \u003chttps://jaypjohnson.com/\u003e`__\n- `AntiNex \u003chttps://api.antinex.com/docs\u003e`__\n\nGetting Started\n---------------\n\n#.  Clone\n\n    ::\n\n        git clone https://github.com/jay-johnson/lets-encrypt-nginx.git /opt/antinex/nginx\n\n#.  Set Domain and Subdomains\n\n    This repository uses environment variables in the file: `antinex.env \u003chttps://github.com/jay-johnson/lets-encrypt-nginx/blob/master/antinex.env\u003e`__ for registering and renewing certificates. Please configure all subdomains as needed.\n\n#.  Register \n\n    It can take a few tries to debug all the issues with registering certs for a new domain. Here is a script to make this easier to debug:\n\n    ::\n        \n        ./initial_testing.sh\n\n#.  Renew on Restart\n\n    To restart nginx use `run.sh \u003chttps://github.com/jay-johnson/lets-encrypt-nginx/blob/master/run.sh\u003e`__ to restart nginx and auto-renew the registered Let's Encrypt certificates.\n\n    ::\n\n        ./run.sh\n\nTail the Container Logs\n=======================\n\n::\n\n    docker logs -f nginx\n\nTroubleshooting\n---------------\n\nManually Debug Cert Registration\n================================\n\n::\n\n    ./ssh.sh\n    cp /opt/containerfiles/base_nginx.conf /etc/nginx/nginx.conf \u0026\u0026 cp /opt/containerfiles/derived_nginx.conf /etc/nginx/conf.d/default.com\n    nginx \u0026\n    /opt/containerfiles/certbot-auto certonly -n --agree-tos --webroot -m bugs@antinex.com -w /opt/certs/release -d antinex.com -d www.antinex.com -d api.antinex.com -d jupyter.antinex.com -d pgadmin.antinex.com -d splunk.antinex.com -d ark.antinex.com -d redis.antinex.com\n\nLicense\n-------\n\nApache 2.0 - Please refer to the LICENSE_ for more details\n\n.. _License: https://github.com/jay-johnson/lets-encrypt-nginx/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjay-johnson%2Flets-encrypt-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjay-johnson%2Flets-encrypt-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjay-johnson%2Flets-encrypt-nginx/lists"}