{"id":15759065,"url":"https://github.com/nwtgck/self-signed-https-docker","last_synced_at":"2026-05-06T22:07:46.493Z","repository":{"id":48797105,"uuid":"148870996","full_name":"nwtgck/self-signed-https-docker","owner":"nwtgck","description":" Docker image which enables your site with self-signed HTTPS easily","archived":false,"fork":false,"pushed_at":"2021-07-11T20:16:25.000Z","size":2133,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-31T08:48:31.732Z","etag":null,"topics":["docker","https","nginx","reverse-proxy"],"latest_commit_sha":null,"homepage":"","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/nwtgck.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}},"created_at":"2018-09-15T04:57:41.000Z","updated_at":"2020-08-17T11:09:13.000Z","dependencies_parsed_at":"2022-09-18T09:21:44.875Z","dependency_job_id":null,"html_url":"https://github.com/nwtgck/self-signed-https-docker","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/nwtgck/self-signed-https-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fself-signed-https-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fself-signed-https-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fself-signed-https-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fself-signed-https-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwtgck","download_url":"https://codeload.github.com/nwtgck/self-signed-https-docker/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fself-signed-https-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32713872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"last_error":"SSL_read: 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","https","nginx","reverse-proxy"],"created_at":"2024-10-04T10:02:49.449Z","updated_at":"2026-05-06T22:07:46.455Z","avatar_url":"https://github.com/nwtgck.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# self-signed-https\n[![Docker Automated build](https://img.shields.io/docker/automated/nwtgck/self-signed-https.svg)](https://hub.docker.com/r/nwtgck/self-signed-https/) [![](https://images.microbadger.com/badges/image/nwtgck/self-signed-https.svg)](https://microbadger.com/images/nwtgck/self-signed-https \"Get your own image badge on microbadger.com\")\n\nDocker image which enables your site with self-signed HTTPS easily\n\n![Ghost Self-signed HTTPS Docker](demo_images/ghost.gif)\n\n## Quick Start\n\nSuppose http://localhost:8181/ is running. The following command runs a HTTPS server on port 8080.\n```bash\ndocker run -p 8080:80 -p 4443:443  -it -e TARGET_HOST=localhost -e TARGET_PORT=3000 nwtgck/self-signed-https\n```\n\n## Docker Compose\n\nHere is an example `docker-compose.yml`.\n\nIn the example, self-signed HTTPS server is running on \u003chttps://localhost:4443\u003e.\n\n```yaml\nversion: '3.1'\nservices:\n  self-signed-https:\n    image: nwtgck/self-signed-https:v0.1.0\n    ports:\n      - '8080:80'\n      - '4443:443'\n    depends_on:\n      - ghost\n    restart: always\n    environment:\n      TARGET_HOST: ghost\n      TARGET_PORT: 2368\n    volumes:\n      - ./docker_volumes/ssl_certs:/ssl_certs\n\n  ghost:\n    image: ghost\n    restart: always\n    expose:\n      - \"2368\"\n``` \n(from: [compose-examples/ghost/docker-compose.yml](compose-examples/ghost/docker-compose.yml))\n\n### Data Persistence\n\nThe following files are located at `./docker_volumes/ssl_cert` in the above example.\n\n* `server.key`\n* `server.csr`\n* `server.crt`\n\n## Environment Variables\n\n| name              | description                            | required or default value |\n|-------------------|----------------------------------------|---------------------------|\n| TARGET_HOST       | Host of destination                    | REQUIRED                  |\n| TARGET_PORT       | HTTP port of destination               | `80`                      |\n| SERVER_HTTP_PORT  | HTTP port of Self-signed HTTPS server  | `80`                      |\n| SERVER_HTTPS_PORT | HTTPS port of Self-signed HTTPS server | `443`                     |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fself-signed-https-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwtgck%2Fself-signed-https-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fself-signed-https-docker/lists"}