{"id":21194178,"url":"https://github.com/petrknap/letsencrypt-nginx-reverse-proxy","last_synced_at":"2026-05-08T17:31:44.261Z","repository":{"id":85099406,"uuid":"250471400","full_name":"petrknap/letsencrypt-nginx-reverse-proxy","owner":"petrknap","description":"HTTP/HTTPS reverse proxy based on NGINX and Let's Encrypt","archived":false,"fork":false,"pushed_at":"2025-05-18T08:13:51.000Z","size":3718,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T03:04:05.103Z","etag":null,"topics":["docker-image","letsencrypt","nginx"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petrknap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yaml","license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":"https://petrknap.github.io/donate.html"}},"created_at":"2020-03-27T07:43:29.000Z","updated_at":"2025-05-18T08:09:52.000Z","dependencies_parsed_at":"2025-05-16T15:37:04.769Z","dependency_job_id":"2f5d6a36-e3fd-47d3-804d-ed96cba24de7","html_url":"https://github.com/petrknap/letsencrypt-nginx-reverse-proxy","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/petrknap/letsencrypt-nginx-reverse-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petrknap%2Fletsencrypt-nginx-reverse-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petrknap%2Fletsencrypt-nginx-reverse-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petrknap%2Fletsencrypt-nginx-reverse-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petrknap%2Fletsencrypt-nginx-reverse-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petrknap","download_url":"https://codeload.github.com/petrknap/letsencrypt-nginx-reverse-proxy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petrknap%2Fletsencrypt-nginx-reverse-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32790197,"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":["docker-image","letsencrypt","nginx"],"created_at":"2024-11-20T19:19:58.509Z","updated_at":"2026-05-08T17:31:44.254Z","avatar_url":"https://github.com/petrknap.png","language":"Shell","funding_links":["https://petrknap.github.io/donate.html"],"categories":[],"sub_categories":[],"readme":"# HTTP/HTTPS reverse proxy based on NGINX and Let's Encrypt\n\nSimple HTTP proxy based on NGINX which automatically does this for you:\n1. redirects from HTTP to HTTPS\n1. obtains needed certificates vie Let's Encrypt\n1. renews near-to-expire certificates\n\nIt's configured via `RULES` variable which uses format `{domain}\u003e{host[:port]}` separated by `,`.\n\nYou can also modify:\n* `IGNORE_LETS_ENCRYPT_ALL_ERRORS` to (un)ignore all Let's Encrypt errors\n* `IGNORE_LETS_ENCRYPT_OBTAIN_ERRORS` to (un)ignore Let's Encrypt errors during obtaining new certificate\n* `IGNORE_LETS_ENCRYPT_RENEW_ERRORS` to (un)ignore Let's Encrypt errors during renewing old certificates\n* `DEFAULT_SITE` to set up default site\n* `UPSTREAMS` to set load balancing\n* `PROXY_ADDITIONAL_OPTIONS` to expand proxy settings\n* `PROXY_HEADERS` to **override** proxy headers\n* `PROXY_OPTIONS` to **override** proxy options\n\nFor more information [see Dockerfile](./Dockerfile).\n\n## Example for Kubernetes\n\n```yaml\napiVersion: apps/v1\nkind: StatefulSet\nmetadata:\n  name: reverse-proxy\n  labels:\n    app: reverse-proxy\nspec:\n  replicas: 1\n  selector:\n    matchLabels:\n      app: reverse-proxy\n  template:\n    metadata:\n      labels:\n        app: reverse-proxy\n    spec:\n      containers:\n        - name: reverse-proxy\n          image: petrknap/letsencrypt-nginx-reverse-proxy:latest\n          env:\n            - name: RULES\n              value: petrknap.cz\u003eweb,mail.petrknap.cz\u003email\n          volumeMounts:\n            - name: reverse-proxy-letsencrypt\n              mountPath: /etc/letsencrypt\n  volumeClaimTemplates:\n    - metadata:\n        name: reverse-proxy-letsencrypt\n      spec:\n        accessModes:\n          - ReadWriteOnce\n        resources:\n          requests:\n            storage: 1Gi # it needs only few MiBs but providers usually don't allow to allocate less than 1 GiB\n```\n\n```yaml\napiVersion: v1\nkind: Service\nmetadata:\n  name: reverse-proxy\n  labels:\n    app: reverse-proxy\nspec:\n  selector:\n    app: reverse-proxy\n  ports:\n    - name: http\n      protocol: TCP\n      port: 80\n    - name: https\n      protocol: TCP\n      port: 443\n  externalIPs:\n    - 1.2.3.4\n```\n\n---\n\nYou can [support this project via donation](https://petrknap.github.io/donate.html).\nThe project is licensed under [the terms of the `LGPL-3.0-or-later`](./COPYING.LESSER).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetrknap%2Fletsencrypt-nginx-reverse-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetrknap%2Fletsencrypt-nginx-reverse-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetrknap%2Fletsencrypt-nginx-reverse-proxy/lists"}