{"id":18978036,"url":"https://github.com/simplificator/caddy-reverse-proxy","last_synced_at":"2025-06-30T17:37:05.466Z","repository":{"id":64054631,"uuid":"572891158","full_name":"simplificator/caddy-reverse-proxy","owner":"simplificator","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-31T08:39:04.000Z","size":22,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-01T10:15:31.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/simplificator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-12-01T08:52:50.000Z","updated_at":"2024-07-01T16:04:44.000Z","dependencies_parsed_at":"2023-12-04T09:23:39.529Z","dependency_job_id":"256f5740-9103-4781-8586-e87b21409341","html_url":"https://github.com/simplificator/caddy-reverse-proxy","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Fcaddy-reverse-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Fcaddy-reverse-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Fcaddy-reverse-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplificator%2Fcaddy-reverse-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplificator","download_url":"https://codeload.github.com/simplificator/caddy-reverse-proxy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239978184,"owners_count":19728290,"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-08T15:31:59.179Z","updated_at":"2025-02-21T08:18:59.199Z","avatar_url":"https://github.com/simplificator.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simplificator's Caddy Reverse Proxy\n\n[![Build](https://github.com/simplificator/caddy-reverse-proxy/actions/workflows/build.yml/badge.svg)](https://github.com/simplificator/caddy-reverse-proxy/actions/workflows/build.yml)\n\nThis repository provides a modified Caddy to pass the active domains as environment variables. Certificates are issued automatically.\n\nThe following environment variables are required:\n\n* `ALTERNATIVE_DOMAINS`: A comma-separated list of additional domains for which Caddy should get certificates. Requests to these domains redirect to `MAIN_DOMAIN`.\n* `MAIN_DOMAIN`: The main domain for your site.\n* `UPSTREAM_URL`: The service where Caddy sends the incoming requests.\n\nWe recommend mounting `/data` out of the container as Caddy saves the retrieved certificates and additional metadata to this directory.\n\nExample:\n\n```yaml\nversion: \"3.9\"\nservices:\n  app:\n    image: \"user/myapp\"\n\n  caddy:\n    image: simplificator/caddy-reverse-proxy:1\n    volumes:\n      - /data/caddy:/data\n    environment:\n      ALTERNATIVE_DOMAINS: \"another.domain,second.domain\"\n      MAIN_DOMAIN: \"main.domain\"\n      UPSTREAM_URL: \"app:3000\"\n    ports:\n      - \"80:80\"\n      - \"443:443\"\n      - \"443:443/udp\"\n```\n\n## License\n\nOur configuration is released under the MIT license. Caddy is a registered trademark of Stack Holdings GmbH.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplificator%2Fcaddy-reverse-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplificator%2Fcaddy-reverse-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplificator%2Fcaddy-reverse-proxy/lists"}