{"id":20365846,"url":"https://github.com/cycoresystems/ccproxy","last_synced_at":"2025-04-12T04:50:44.838Z","repository":{"id":148363774,"uuid":"42875932","full_name":"CyCoreSystems/ccproxy","owner":"CyCoreSystems","description":"HAProxy for use in the CyCore hosting network","archived":false,"fork":false,"pushed_at":"2020-09-14T20:00:34.000Z","size":28,"stargazers_count":4,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T17:12:50.104Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CyCoreSystems.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":"2015-09-21T15:41:36.000Z","updated_at":"2025-03-20T13:00:34.000Z","dependencies_parsed_at":"2023-05-19T21:15:21.275Z","dependency_job_id":null,"html_url":"https://github.com/CyCoreSystems/ccproxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCoreSystems%2Fccproxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCoreSystems%2Fccproxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCoreSystems%2Fccproxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyCoreSystems%2Fccproxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyCoreSystems","download_url":"https://codeload.github.com/CyCoreSystems/ccproxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248519473,"owners_count":21117757,"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-15T00:20:34.164Z","updated_at":"2025-04-12T04:50:44.806Z","avatar_url":"https://github.com/CyCoreSystems.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ccproxy\n\n[![Docker Repository on Quay](https://quay.io/repository/cycore/ccproxy/status \"Docker Repository on Quay\")](https://quay.io/repository/cycore/ccproxy)\n\nAn etcd-backed haproxy sidekick.\n\nFeatures:\n  * SNI (multiple certs on a single IP)\n  * etcd-based configuration and certificate storage, with change detection\n  * manages restarts of haproxy on configuration change (via systemd)\n\nSee the [Unit file](ccproxy@.service) for usage information.\n\n## Frontends\n\nFrontends use the primary public IP addresses for the hosting node, registering them\nwith the DNS service.  The record ids for the created DNS records are stored in etcd\nin the key `/cycore/proxy/dns/\u003cinstanceId\u003e` so that these records may be updated or\ndeleted at a later time.\n\n## Backends\n\nBackends are updated based on the information registered by `gliderlabs/registrator`,\npulled from the name referenced in `/cycore/proxy/services/\u003cserviceName\u003e`.  In other words, the\nactual service needs to be executed with the environment variable `SERVICE_NAME` set\ncorresponding to the `/cycore/proxy/services/\u003cserviceName\u003e` key.\n\n## DNS Names\n\nOne or more DNS hostnames must be specified for haproxy to respond to. \n\n## Ports\n\nFor now, only ports 80 and 443 are used, and there is no support for specifying any\nothers.\n\n## Certificate/TLS\n\nThe presence or absence of a TLS certificate bundle in `/cycore/proxy/services/\u003cserviceName\u003e/cert`\ndetermines whether to offer SNI redirecting and TLS termination for the service.  The\nvalue of that key should be the complete bundled `.pem` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycoresystems%2Fccproxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcycoresystems%2Fccproxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcycoresystems%2Fccproxy/lists"}