New answers tagged haproxy
1
vote
only allow traffic from one FQDN
I finally got it working. I had to add the IP of my HAProxy as an allowed IP, I also consolidated the nginx config.
server {
listen 80;
charset utf-8;
server_name test.mydomain.com;
...
0
votes
HAPROXY: How to ensure all clients are connected to one server only?
You can set a server into the "DRAIN" state, which refuses to take new connections. If you don't have any persistent/sticky rules, all connections should drain from the server fast. You can ...
1
vote
HAProxy -- pause/queue all traffic without losing requests
I couldn't manage to use haproxy's approach using set maxconn frontend myfrontend 0 followed by set maxconn frontend myfrontend 1000 because my haproxy crashed when I perform the second command to ...
0
votes
haproxy - Correct way of queuing + draining requests
I couldn't manage to use haproxy's approach using set maxconn frontend myfrontend 0 followed by set maxconn frontend myfrontend 1000 because my haproxy crashed when I perform the second command to ...
0
votes
Accepted
Munin haproxy plugin is not getting data even though munin-run show data and other plugins work fine
I found the culprit in /var/log/messages
Some calls were denied by SELinux. After adding the suggested rule below, everything works as expected.
Log extract :
server setroubleshoot[681531]: SELinux is ...
0
votes
Mariadb active passive failover doesn't work with HAProxy
Maybe not the best solution but this did the job for now, adding weight and check port.
server server1-DB1 1.1.1.1:13306 weight 1 check port 13306
server server2-2002-DB2 1.1.1.2:13306 weight 100 ...
0
votes
Programmatically (SH Script) check which server is traffic routed/up too by HA Proxy
I recently resumed work on this after a break and successfully completed it.
Haproxy File Configuration
To achieve this, we first need to enable the stats socket level logs in haproxy by specifying ...
Top 50 recent answers are included
Related Tags
haproxy × 2110load-balancing × 409
nginx × 216
ssl × 191
reverse-proxy × 116
linux × 111
proxy × 88
apache-2.2 × 81
high-availability × 75
https × 66
http × 55
ubuntu × 52
networking × 52
keepalived × 50
tcp × 45
mysql × 44
docker × 41
varnish × 39
redirect × 38
domain-name-system × 35
logging × 35
centos × 33
configuration × 32
apache-2.4 × 31
failover × 31