{"id":19548888,"url":"https://github.com/sbcd90/haproxy-github-https-expose","last_synced_at":"2026-02-06T18:36:13.510Z","repository":{"id":146465913,"uuid":"308253890","full_name":"sbcd90/haproxy-github-https-expose","owner":"sbcd90","description":"A simple haproxy config project to expose corporate github behind firewall to internet","archived":false,"fork":false,"pushed_at":"2020-10-29T07:49:20.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-21T04:27:20.090Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/sbcd90.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":"2020-10-29T07:45:58.000Z","updated_at":"2020-10-29T07:49:41.000Z","dependencies_parsed_at":"2023-07-17T16:34:41.267Z","dependency_job_id":null,"html_url":"https://github.com/sbcd90/haproxy-github-https-expose","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sbcd90/haproxy-github-https-expose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcd90%2Fhaproxy-github-https-expose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcd90%2Fhaproxy-github-https-expose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcd90%2Fhaproxy-github-https-expose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcd90%2Fhaproxy-github-https-expose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbcd90","download_url":"https://codeload.github.com/sbcd90/haproxy-github-https-expose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbcd90%2Fhaproxy-github-https-expose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29172618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T16:33:35.550Z","status":"ssl_error","status_checked_at":"2026-02-06T16:33:30.716Z","response_time":59,"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-11T03:57:18.562Z","updated_at":"2026-02-06T18:36:13.495Z","avatar_url":"https://github.com/sbcd90.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"haproxy-github-https-expose\n===========================\n\nA simple haproxy config project to expose corporate github behind firewall to internet.\n\n\n### Steps\n\n- Install haproxy on Ubuntu\n\n```\nsudo apt-get -y install haproxy\n\nhaproxy -v\n\n```\n\n- Edit `/etc/haproxy/haproxy.cfg` with content in [haproxy.cfg](config/haproxy.cfg).\n\n- Start haproxy\n\n```\nsudo service haproxy restart\n```\n\n- Look into ip address with `ifconfig`\n\n- Expose to public internet with `ngrok`.\n\n```\nsudo snap install ngrok\n\nngrok http https://\u003cip-address from ifconfig\u003e\n```\n\n- Get personal access token from corporate Github following [link](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token)\n\n- Set https proxy for github\n\n```\ngit config --global https.proxy  https://****.ngrok.io\n```\n\n- Git clone now works!!\n\n```\ngit clone https://****.ngrok.io/\u003cgithub-id/org\u003e/\u003cgithub-repo\u003e\n```\n\n- Unset https proxy for github\n\n```\ngit config --global --unset https.proxy\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbcd90%2Fhaproxy-github-https-expose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbcd90%2Fhaproxy-github-https-expose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbcd90%2Fhaproxy-github-https-expose/lists"}