{"id":19621464,"url":"https://github.com/commenthol/haproxy-examples","last_synced_at":"2026-06-07T21:01:14.527Z","repository":{"id":66111672,"uuid":"44268747","full_name":"commenthol/haproxy-examples","owner":"commenthol","description":"A collection of HAProxy examples","archived":false,"fork":false,"pushed_at":"2018-01-07T20:53:59.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-09T11:39:49.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/commenthol.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-10-14T18:43:38.000Z","updated_at":"2016-11-26T11:52:18.000Z","dependencies_parsed_at":"2023-03-10T02:16:41.989Z","dependency_job_id":null,"html_url":"https://github.com/commenthol/haproxy-examples","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/commenthol%2Fhaproxy-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fhaproxy-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fhaproxy-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commenthol%2Fhaproxy-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commenthol","download_url":"https://codeload.github.com/commenthol/haproxy-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240914994,"owners_count":19878078,"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-11T11:23:11.513Z","updated_at":"2026-06-07T21:01:13.183Z","avatar_url":"https://github.com/commenthol.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HAProxy Examples\n\n\u003e A collection of HAProxy examples\n\n## Table of Contents\n\n\u003c!-- !toc (minlevel=2 omit=\"Table of Contents\") --\u003e\n\n* [Prerequisites](#prerequisites)\n* [Examples](#examples)\n  * [Loadbalancer](#loadbalancer)\n  * [Limit Connections and SessionRate](#limit-connections-and-sessionrate)\n* [License](#license)\n* [References](#references)\n\n\u003c!-- toc! --\u003e\n\n## Prerequisites\n\n- HAProxy \u003e=1.5.14\n- node.js \u003e=0.12\n\n## Examples\n\n### Loadbalancer\n\nSource: [conf/loadbalance.cfg](conf/loadbalance.cfg)\n\nThe configuration sets up a HTTP loadbalancer with 3 configured backend servers, one of them in active standby\n\nRun `make loadbalance` and access http://localhost:8888\n\n\n### Limit Connections and SessionRate\n\nSource: [conf/throttle.cfg](conf/throttle.cfg)\n\nIf it is desired to protect a backend with a dedicated session and connection rate use this recipe.\n\n`throttle.conf` limits all incomming connections to only 5 concurrent requests being received at the backend. All other requests are immediately blocked with a 403 HTTP Response.\n\nRun `make throttle` and access http://localhost:8888\n\n## License\n\nCopyright (c) 2016 commenthol (MIT License)\n\nSee [LICENSE][] for more info.\n\n## References\n\n\u003c!-- !ref --\u003e\n\n* [HAProxy][HAProxy]\n* [LICENSE][LICENSE]\n\n\u003c!-- ref! --\u003e\n\n[LICENSE]: ./LICENSE\n[HAProxy]: http://www.haproxy.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommenthol%2Fhaproxy-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommenthol%2Fhaproxy-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommenthol%2Fhaproxy-examples/lists"}