{"id":4606,"date":"2020-01-13T18:40:34","date_gmt":"2020-01-13T23:40:34","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=4606"},"modified":"2020-01-13T18:40:34","modified_gmt":"2020-01-13T23:40:34","slug":"how-to-setup-haproxy-load-balancer-on-debian-10","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/","title":{"rendered":"How to Setup HAProxy Load Balancer on Debian 10"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"628\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2020\/01\/HAProxyDebian10.jpg\" alt=\"\" class=\"wp-image-4621\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Website performance and uptime are very crucial for heavy websites nowadays. Setup HAProxy Load Balancer on <a href=\"https:\/\/www.globo.tech\/learning-center\/choosing-an-os-ubuntu-vs-fedora-vs-centos-vs-debian\/\">Debian 10<\/a> would be a good way to achieve your website loading goal. HAProxy is an open-source load balancer and proxy server that can be used to distribute web applications across multiple hosts. It is specially designed for very high traffic websites for better performance, availability, and redundancy. HAProxy works by distributing the server load to multiple backend servers using the load balancing algorithm. It is used by many companies including, Twitter, Tumblr, GoDaddy and Amazon.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this tutorial, we will show you how to setup HAProxy load balancing with two web servers on Debian 10.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Requirements<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>One <a href=\"https:\/\/www.globo.tech\/dedicated-server-hosting\/\">server<\/a> running Debian 10 for HAProxy.<\/li><li>Two servers running Debian 10 with a <a href=\"https:\/\/httpd.apache.org\/\">web server installed<\/a> and configured.<\/li><li>A static LAN  between the HAProxy and the two web servers. In the tutorial we configured IP address 192.168.0.4 on HAProxy server, 192.168.0.10 on Webserver1 and 192.168.0.11 on Webserver2.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><br>Getting Started<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before starting the setup HAProxy Load Balancer on Debian 10, update your server with the latest version by running the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> apt-get update -y &amp;&amp; apt-get upgrade -y <\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once your server is up-to-date. Restart it to apply the changes, if needed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br>Install HAProxy<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">By default, HAProxy package is not available in the Debian 10 default repository. So you will need to add the repository for that.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, install curl and download the GPG key for HAProxy with the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>apt-get install curl -y<br>\ncurl https:\/\/haproxy.debian.net\/bernat.debian.org.gpg | apt-key add - <\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next, add the HAProxy repository to APT with the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> echo \"deb http:\/\/haproxy.debian.net $(lsb_release -cs)-backports-2.0 main\" | tee \/etc\/apt\/sources.list.d\/haproxy.list <\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then, update the repository and install HAProxy with the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> apt-get install haproxy=2* <\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once installed, you can check the version of HAProxy with the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> haproxy -v <\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It should show the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> HA-Proxy version 2.0.5-1~bpo10+1 2019\/08\/22 - https:\/\/haproxy.org\/<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can also check the HAProxy service using the following command:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> systemctl status haproxy <\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then you should see the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">@page { size: 8.5in 11in; margin: 0.79in } p { margin-bottom: 0.1in; direction: ltr; color: #000000; line-height: 120%; text-align: left; orphans: 0; widows: 0; background: transparent } p.western { font-family: \"Liberation Serif\", serif; font-size: 12pt; so-language: en-IN } p.cjk { font-family: \"Droid Sans Fallback\"; font-size: 12pt; so-language: zh-CN } p.ctl { font-family: \"FreeSans\"; font-size: 12pt; so-language: hi-IN } a:link { color: #000080; so-language: zxx; text-decoration: underline } \n \u25cf haproxy.service - HAProxy Load Balancer\n   Loaded: loaded (\/lib\/systemd\/system\/haproxy.service; enabled; vendor preset: enabled)\n   Active: active (running) since Mon 2019-09-09 01:15:46 EDT; 8min ago\n     Docs: man:haproxy(1)\n           file:\/usr\/share\/doc\/haproxy\/configuration.txt.gz\n Main PID: 2088 (haproxy)\n    Tasks: 2 (limit: 1138)\n   Memory: 1.9M\n   CGroup: \/system.slice\/haproxy.service\n           \u251c\u25002088 \/usr\/sbin\/haproxy -Ws -f \/etc\/haproxy\/haproxy.cfg -p \/run\/haproxy.pid -S \/run\/haproxy-master.sock\n           \u2514\u25002089 \/usr\/sbin\/haproxy -Ws -f \/etc\/haproxy\/haproxy.cfg -p \/run\/haproxy.pid -S \/run\/haproxy-master.sock\n \n \n Sep 09 01:15:46 debian systemd[1]: Starting HAProxy Load Balancer...\n Sep 09 01:15:46 debian haproxy[2088]: [NOTICE] 251\/011546 (2088) : New worker #1 (2089) forked\n Sep 09 01:15:46 debian systemd[1]: Started HAProxy Load Balancer.<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><br>Configure HAProxy <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Next, you will need to Setup HAProxy Load Balancer on Debian 10 for load balancing. You can achieve this by editing file \/etc\/haproxy\/haproxy.cfg.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> nano \/etc\/haproxy\/haproxy.cfg <\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, you will need to add the Frontend section to defines the IP addresses and ports that clients can connect to. You can add your HAProxy server IP address and port 80 as shown below:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> frontend Local_Server<br>\n&nbsp;&nbsp;bind 192.168.0.4:80<br>\n&nbsp;&nbsp;mode http<br>\n&nbsp;&nbsp;default_backend Web_Servers<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then, you will need to add Backend web servers that will be load balanced and assigned to handle requests. You can add your web servers IP as shown below:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> backend Web_Servers<br>\n&nbsp;&nbsp;mode http<br>\n&nbsp;&nbsp;balance roundrobin<br>\n&nbsp;&nbsp;option forwardfor<br>\n&nbsp;&nbsp;http-request set-header X-Forwarded-Port %[dst_port]<br>\n&nbsp;&nbsp;http-request add-header X-Forwarded-Proto https if { ssl_fc }<br>\n&nbsp;&nbsp;option httpchk HEAD \/ HTTP\/1.1rnHost:localhost<br>\n&nbsp;&nbsp;server webserver1.example.com  192.168.0.10<br>\n&nbsp;&nbsp;server webserver2.example.com  192.168.0.11<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next, add the following lines to enable Haproxy statistics to monitor HAProxy from the web browser.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> listen stats<br>\n&nbsp;&nbsp;bind 192.168.0.4:8181<br>\n&nbsp;&nbsp;stats enable<br>\n&nbsp;&nbsp;stats hide-version<br>\n&nbsp;&nbsp;stats refresh 30s<br>\n&nbsp;&nbsp;stats show-node<br>\n&nbsp;&nbsp;stats auth admin:admin@123<br>\n&nbsp;&nbsp;stats uri  \/stats<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Save and close the file when you are finished. Then, restart the HAProxy service to apply the configuration changes:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code> systemctl restart haproxy <\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br>Check HAProxy Load Balancing<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Now, open your web browser and type the URL <strong>http:\/\/192.168.0.4:8181\/stats<\/strong>. You will be redirected to the HAProxy statistics login page as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2020\/01\/Login-HAProxy-LB.png\" alt=\"\" class=\"wp-image-4613\" width=\"639\" height=\"273\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Provide <strong>username <\/strong>and <strong>password <\/strong>which you have defined in HAProxy configuration file and click on the <strong>Sign in<\/strong> button. It will log you into the HAProxy statistics dashboard in the following screen:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2020\/01\/Login-HAProxy-Stats.png\" alt=\"\" class=\"wp-image-4614\" width=\"651\" height=\"266\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>You can now also access your web servers by typing the <strong>URL http:\/\/192.168.0.4<\/strong> in your web browser and refresh the page. You should see your backend web servers one by one as shown below:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>First Web:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2020\/01\/First-WebServer.png\" alt=\"\" class=\"wp-image-4615\" width=\"642\" height=\"266\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><br>Second Web server:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized is-style-default\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2020\/01\/Second-WebServer.png\" alt=\"\" class=\"wp-image-4616\" width=\"650\" height=\"266\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><br>Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Congratulations! You have successfully configured HAProxy load balancing server on Debian 10. You can now increase your web server performance by experimenting with different configurations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For more information, you can visit the HAProxy documentation at <a href=\"https:\/\/cbonte.github.io\/haproxy-dconv\/2.0\/configuration.html\">HAProxy<\/a>.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Learn how to setup HDProxy Load Balancer on Debian 10. HAProxy is an open-source load balancer and proxy server that can be used to distribute web applications across multiple hosts.<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":4621,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[75],"tags":[150,147,149,148],"class_list":["post-4606","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ha-clustering","tag-debian","tag-haproxy","tag-lb","tag-load-balancer"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Setup HAProxy Load Balancer on Debian 10 - Globo.Tech<\/title>\n<meta name=\"description\" content=\"Setup HAProxy Load Balancer on Debian 10, for your high-traffic website. In this article learn how to Setup HAProxy Load Balancer on Debian 10.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Setup HAProxy Load Balancer on Debian 10 - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"Setup HAProxy Load Balancer on Debian 10, for your high-traffic website. In this article learn how to Setup HAProxy Load Balancer on Debian 10.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-13T23:40:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2020\/01\/HAProxyDebian10.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/\"},\"author\":{\"name\":\"GloboTech Communications\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"headline\":\"How to Setup HAProxy Load Balancer on Debian 10\",\"datePublished\":\"2020-01-13T23:40:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/\"},\"wordCount\":555,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/HAProxyDebian10.jpg\",\"keywords\":[\"debian\",\"HAProxy\",\"lb\",\"Load balancer\"],\"articleSection\":[\"HA &amp; Clustering\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/\",\"name\":\"How to Setup HAProxy Load Balancer on Debian 10 - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/HAProxyDebian10.jpg\",\"datePublished\":\"2020-01-13T23:40:34+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"Setup HAProxy Load Balancer on Debian 10, for your high-traffic website. In this article learn how to Setup HAProxy Load Balancer on Debian 10.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/HAProxyDebian10.jpg\",\"contentUrl\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/HAProxyDebian10.jpg\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/how-to-setup-haproxy-load-balancer-on-debian-10\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Setup HAProxy Load Balancer on Debian 10\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\\\/\\\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Setup HAProxy Load Balancer on Debian 10 - Globo.Tech","description":"Setup HAProxy Load Balancer on Debian 10, for your high-traffic website. In this article learn how to Setup HAProxy Load Balancer on Debian 10.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/","og_locale":"en_US","og_type":"article","og_title":"How to Setup HAProxy Load Balancer on Debian 10 - Globo.Tech","og_description":"Setup HAProxy Load Balancer on Debian 10, for your high-traffic website. In this article learn how to Setup HAProxy Load Balancer on Debian 10.","og_url":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/","og_site_name":"Globo.Tech","article_published_time":"2020-01-13T23:40:34+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2020\/01\/HAProxyDebian10.jpg","type":"image\/jpeg"}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/#article","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/"},"author":{"name":"GloboTech Communications","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"headline":"How to Setup HAProxy Load Balancer on Debian 10","datePublished":"2020-01-13T23:40:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/"},"wordCount":555,"commentCount":0,"image":{"@id":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2020\/01\/HAProxyDebian10.jpg","keywords":["debian","HAProxy","lb","Load balancer"],"articleSection":["HA &amp; Clustering"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/","url":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/","name":"How to Setup HAProxy Load Balancer on Debian 10 - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/#primaryimage"},"image":{"@id":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/#primaryimage"},"thumbnailUrl":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2020\/01\/HAProxyDebian10.jpg","datePublished":"2020-01-13T23:40:34+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"Setup HAProxy Load Balancer on Debian 10, for your high-traffic website. In this article learn how to Setup HAProxy Load Balancer on Debian 10.","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/#primaryimage","url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2020\/01\/HAProxyDebian10.jpg","contentUrl":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2020\/01\/HAProxyDebian10.jpg","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/how-to-setup-haproxy-load-balancer-on-debian-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to Setup HAProxy Load Balancer on Debian 10"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/4606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=4606"}],"version-history":[{"count":15,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/4606\/revisions"}],"predecessor-version":[{"id":4626,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/4606\/revisions\/4626"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media\/4621"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=4606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=4606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=4606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}