HAproxy — How to forward traffic to backend by a matching header?
You need a check header (hdr in haproxy) value via ACL. Try it: Test for you header: The logic: IF X-DEMO-HOST-VERSION=test use test_backend ELSE use prod_backend UPD: If u need…
You need a check header (hdr in haproxy) value via ACL. Try it: Test for you header: The logic: IF X-DEMO-HOST-VERSION=test use test_backend ELSE use prod_backend UPD: If u need…
The virtual_alias_maps command is designed to redirect an incoming message by recipient, not by sender, so yours would suggest user@recipient as a catchall address for mails directed to *@sender. Note…
Introduction An HAProxy cannot bind socket error message is generated when there is another process listening on the same interface and TCP port combination that HAProxy is configured to use,…
Introduction There are three main commands, and a common log location that you can use to get started troubleshooting HAProxy errors. Generally when you are troubleshooting HAProxy, you will use…
Хотите узнать, как установить Nginx и отказать в доступе из страны? В этом учебнике мы собираемся настроить сервер Nginx, чтобы заблокировать доступ из страны. • Ubuntu 18• Ubuntu 19• Ubuntu…
net.ipv4.ip_nonlocal_bind=1 to /etc/sysctl.conf and running sysctl -p
HAProxy is an open-source Linux load balancer and it is fast, secure, and easy to understand to use. The readers who are unfamiliar with the term LOAD BALANCER, for them,…
Сервисы, требующие высокой доступности, обычно используют плавающие IP-адреса. Плавающий IP-адрес может быть автоматически переброшен между несколькими серверами в ходе переключения на резерв из-за выхода из строя основного сервера или для…
Рассмотрим, как узнать текущий IP-адрес системы Linux, используя командную строку. ifconfig уже устарел Раньше для просмотра текущих сетевых интерфейсов и их параметров (включая IP-адреса), использовалась команда ifconfig. Но она уже…
As a sysadmin, you’ll encounter scenarios where you need to list the users present on your system. Perhaps you want to remove a user or add it to the sudoer…