{"id":19142851,"url":"https://github.com/angatar/https-redirect","last_synced_at":"2026-05-09T07:01:40.708Z","repository":{"id":37822540,"uuid":"223131538","full_name":"Angatar/https-redirect","owner":"Angatar","description":"A simple nginx:alpine-slim container (~5MB) that is set to redirect everything to https","archived":false,"fork":false,"pushed_at":"2024-09-10T08:44:44.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T19:25:39.305Z","etag":null,"topics":["docker","https-redirect","k8s","kubernetes","multi-arch","nginx"],"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/Angatar.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-21T09:00:54.000Z","updated_at":"2024-09-10T08:42:57.000Z","dependencies_parsed_at":"2024-09-10T10:43:47.609Z","dependency_job_id":"d371842d-6b2a-43f7-b613-52ba27fe6e0c","html_url":"https://github.com/Angatar/https-redirect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Angatar/https-redirect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fhttps-redirect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fhttps-redirect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fhttps-redirect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fhttps-redirect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Angatar","download_url":"https://codeload.github.com/Angatar/https-redirect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Angatar%2Fhttps-redirect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32810381,"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":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["docker","https-redirect","k8s","kubernetes","multi-arch","nginx"],"created_at":"2024-11-09T07:28:53.305Z","updated_at":"2026-05-09T07:01:40.688Z","avatar_url":"https://github.com/Angatar.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Docker Pulls](https://badgen.net/docker/pulls/d3fk/https-redirect?icon=docker\u0026label=pulls\u0026cache=600)](https://hub.docker.com/r/d3fk/https-redirect/tags) [![Docker Image Size](https://badgen.net/docker/size/d3fk/https-redirect/latest?icon=docker\u0026label=image%20size\u0026cache=600)](https://hub.docker.com/r/d3fk/https-redirect/tags) [![Docker build](https://img.shields.io/badge/automated-automated?style=flat\u0026logo=docker\u0026logoColor=blue\u0026label=build\u0026color=green\u0026cacheSeconds=600)](https://hub.docker.com/r/d3fk/https-redirect/tags) [![Docker Stars](https://badgen.net/docker/stars/d3fk/https-redirect?icon=docker\u0026label=stars\u0026color=green\u0026cache=600)](https://hub.docker.com/r/d3fk/https-redirect) [![Github Stars](https://img.shields.io/github/stars/Angatar/https-redirect?label=stars\u0026logo=github\u0026color=green\u0026style=flat\u0026cacheSeconds=600)](https://github.com/Angatar/https-redirect) [![Github forks](https://img.shields.io/github/forks/Angatar/https-redirect?logo=github\u0026style=flat\u0026cacheSeconds=600)](https://github.com/Angatar/https-redirect/fork) [![Github open issues](https://img.shields.io/github/issues-raw/Angatar/https-redirect?logo=github\u0026color=yellow\u0026cacheSeconds=600)](https://github.com/Angatar/https-redirect/issues) [![Github closed issues](https://img.shields.io/github/issues-closed-raw/Angatar/https-redirect?logo=github\u0026color=green\u0026cacheSeconds=600)](https://github.com/Angatar/https-redirect/issues?q=is%3Aissue+is%3Aclosed) [![GitHub license](https://img.shields.io/github/license/Angatar/https-redirect)](https://github.com/Angatar/https-redirect/blob/master/LICENSE)\n\n\n\n# https-redirect (d3fk/https-redirect)\nA nginx:alpine-slim container([![Docker Image Size](https://badgen.net/docker/size/d3fk/https-redirect/latest?icon=docker\u0026label=compressed)](https://hub.docker.com/r/d3fk/https-redirect/tags)) that is set to redirect everything to https\n\n\n## Docker image\nPrebuilt from Docker hub with \"automated build\" option, now available as multi-arch image for most of architectures, i.e:\n- linux/amd64\n- linux/386\n- linux/arm/v6\n- linux/arm/v7\n- linux/arm64/v8\n- linux/ppc64le\n- linux/s390x\n\nimage name **d3fk/https-redirect**\n\n`docker pull d3fk/https-redirect`\n\nDocker hub repository: https://hub.docker.com/r/d3fk/https-redirect/\n\n[![DockerHub Badge](https://dockeri.co/image/d3fk/https-redirect)](https://hub.docker.com/r/d3fk/https-redirect)\n\n## Usage\nReally useful if you need to redirect any request sent to a port (any) to https protocol\n### Use case\nYou already have something (app, container...) running on https and do not want to manage any redirection from other ports within this something ... this container is what you are looking for.\n\n### Docker usage\nIf you need to redirect requests sent on port 80 to https: \n\n`docker run --name https-redirect -d -p 80:80 d3fk/https-redirect`\n\nIn case you also need to redirect requests from port 8080 in addition to the port 80 towards https you can simply run:\n\n`docker run --name https-redirect -d -p 80:80 -p 8080:80 d3fk/https-redirect`\n\nYou can redirect from any port to https, simply adapt the ports numbers to your needs.\n\n\n### Kubernetes usage\n\nThis container was initially created to serve in a kubernetes context: The default ingress controler in use with our k8s cluster didn't managed correctly the force-ssl-redirect directive and it was disproportionated (additional resources consuming with several pods created) to go with another ingress controller (Nginx, Traefic, HAProxy etc...) simply for that purpose since this small container can do the stuff. You can use as templates the YAML files provided in the k8s directory of this repository for your own cluster.\n\n[![GitHub license](https://img.shields.io/github/license/Angatar/https-redirect)](https://github.com/Angatar/https-redirect/blob/master/LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangatar%2Fhttps-redirect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangatar%2Fhttps-redirect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangatar%2Fhttps-redirect/lists"}