{"id":20816084,"url":"https://github.com/arillo/docker-nginx-ssl-proxy","last_synced_at":"2026-02-15T15:06:03.534Z","repository":{"id":136947893,"uuid":"53786123","full_name":"arillo/docker-nginx-ssl-proxy","owner":"arillo","description":null,"archived":false,"fork":false,"pushed_at":"2016-03-13T13:21:50.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-18T09:07:07.605Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nginx","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/arillo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-13T13:21:19.000Z","updated_at":"2016-03-13T13:21:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"dd905ed4-1ded-429d-b561-a7b68797cbac","html_url":"https://github.com/arillo/docker-nginx-ssl-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arillo/docker-nginx-ssl-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillo%2Fdocker-nginx-ssl-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillo%2Fdocker-nginx-ssl-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillo%2Fdocker-nginx-ssl-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillo%2Fdocker-nginx-ssl-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arillo","download_url":"https://codeload.github.com/arillo/docker-nginx-ssl-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arillo%2Fdocker-nginx-ssl-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29481925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T11:35:25.641Z","status":"ssl_error","status_checked_at":"2026-02-15T11:34:57.128Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-17T21:27:58.194Z","updated_at":"2026-02-15T15:06:03.520Z","avatar_url":"https://github.com/arillo.png","language":"Nginx","funding_links":[],"categories":[],"sub_categories":[],"readme":"# arillo/nginx-ssl-proxy\n\n## Building the Image\n\nBuild\n\n  ```shell\n  docker build -t arillo/nginx-ssl-proxy .\n  ```\n\nPush to docker registry\n\n  ```shell\n  docker push arillo/nginx-ssl-proxy\n  ```\n\n## Using with Kubernetes\nThis image is optimized for use in a Kubernetes cluster to provide SSL termination for other services in the cluster. It should be deployed as a [Kubernetes replication controller](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/replication-controller.md) with a [service and public load balancer](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/services.md) in front of it. SSL certificates, keys, and other secrets are managed via the [Kubernetes Secrets API](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/design/secrets.md).\n\n\n## Prepare certificate\n\nCreate certificate request\n\n  ```shell\n  openssl req -nodes -newkey rsa:2048 -keyout myserver.key -out server.csr\n  ```\n\nBundle certificates\n\n  ```shell\n  cat www_yourdomain_com.crt ComodoHigh-AssuranceSecureServerCA.crt AddTrustExternalCARoot.crt \u003e ssl-bundle.crt\n  ```\n\n## Run an SSL Termination Proxy from the CLI\nTo run an SSL termination proxy you must have an existing SSL certificate and key. These instructions assume they are stored at /path/to/secrets/ and named `cert.crt` and `key.pem`. You'll need to change those values based on your actual file path and names.\n\n1. **Create a DHE Param**\n\n    The nginx SSL configuration for this image also requires that you generate your own DHE parameter. It's easy and takes just a few minutes to complete:\n\n    ```shell\n    openssl dhparam -out /path/to/secrets/dhparam.pem 2048\n    ```\n\n\n2. **Launch a Container**\n\n    Modify the below command to include the actual address or host name you want to proxy to, as well as the correct /path/to/secrets for your certificate, key, and dhparam:\n\n    ```shell\n    docker run \\\n      -e ENABLE_SSL=true \\\n      -e TARGET_SERVICE=THE_ADDRESS_OR_HOST_YOU_ARE_PROXYING_TO \\\n      -v /path/to/secrets/cert.crt:/etc/secrets/proxycert \\\n      -v /path/to/secrets/key.pem:/etc/secrets/proxykey \\\n      -v /path/to/secrets/dhparam.pem:/etc/secrets/dhparam \\\n      nginx-ssl-proxy\n    ```\n    The really important thing here is that you map in your cert to `/etc/secrets/proxycert`, your key to `/etc/secrets/proxykey`, and your dhparam to `/etc/secrets/dhparam` as shown in the command above.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farillo%2Fdocker-nginx-ssl-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farillo%2Fdocker-nginx-ssl-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farillo%2Fdocker-nginx-ssl-proxy/lists"}