Questions tagged [haproxy]
HAProxy is a load-balancer, to spread out requests between web servers.
69 questions
0
votes
0
answers
29
views
HAproxy 2.6.12 TCP LB with NoMachine NX servers (SSH-like)
I tried to install HAProxy 2.6.12 in TCP mode to do load balancing (round robin) between 2 NoMachine 8.16.1 ECS (Enterprise Cloud Server) accepting NX protocol (SSH-like).
NoMachine is a remote ...
2
votes
0
answers
493
views
Add timezone to HAProxy logs
I have a HAProxy (2.2.9) running on an Debian 11 machine and I would like to add the timezone to the HAProxy logs like Apache has: [25/Jul/2023:14:27:40 +0200].
I have found that I can use the log-...
0
votes
1
answer
328
views
Adding SSL certificates to HAProxy with certbot
I am trying to configure my Nginx server to act as my primary load balancer. I have done the necessary package installation with certbot but the problem comes in when I try to configure my haproxy.cfg ...
0
votes
1
answer
430
views
HAProxy over Tomcat returns Error 403
I have an old server which runs a Tomcat service on port 8080. For various reasons (including securing the access from clients) I had to set up a HAProxy server in front of it, secured with a SSL ...
0
votes
0
answers
62
views
centos 7 haproxy.service stop sometimes
l’m on centos 7 with cpanel & WHM, i have haproxy binded to port 80 thats workings fine, every day at a random time the haproxy stops so i have to start the service again (service enabled). please ...
0
votes
1
answer
496
views
What hostname to put in main.cf for self-hosted postfix, behind HAProxy?
Pfsense (HAproxy as reverse proxy)—->Unraid
I run postfix on Debian Bullseye VM (under Unraid) on my home server. It is up and running. I can send the mail out but can’t receive any incoming mail. ...
0
votes
1
answer
7k
views
kubectl connection issues on Ubuntu 22.04LTS with Kubernetes 1.26.0
I have installed kubeadm, kubelet and kubectl using sudo apt install command, and they are all version 1.26.0. I use Ubuntu 22.04LTS machine. I just wanted to test and use Kubernetes on my local ...
1
vote
1
answer
722
views
Run Haproxy 2.6.7 as service on CentOS 9
I want to run HAProxy 2.6.7 on my CentOS 9.
I have downloaded and compiled the project with USE_SYSTEMD flag enabled and installed the compiled file. Here are the commands I have used:
make TARGET=...
4
votes
1
answer
2k
views
How to redirect rsyslog messges from a specific unix socket to a different log file without duplication?
I have been trying to implement separate logging for haproxy.
But I end up with duplicate logging and can't separate logs based on the input socket or facility alone.
My sample configuration in ...
0
votes
1
answer
1k
views
haproxy: command not found
I am trying to use haproxy on linux. I installed it using sudo apt install haproxy but after install is complete when I run haproxy -vv i get error haproxy: command not found. I tried running sudo ...
2
votes
1
answer
1k
views
Where does each of my local facilities logs to in Unix?
I was using local0 facility to log info in HAProxy. What I don't understand is in which file each of my facilities (local0 ... local7) logs to?
0
votes
1
answer
5k
views
HAPROXY traffic logs not logging in /var/log/haproxy.log
I have below configuration in /etc/haproxy/haproxy.cfg
# Example configuration for a possible web application. See the
# full configuration options online.
#
# http://haproxy.1wt.eu/download/1.4/...
0
votes
1
answer
135
views
Does the "offical" HAProxy ingress controller provide drain support?
We're exploring using the "offical" HARoxy ingress controller (https://www.haproxy.com/documentation/kubernetes/latest/) and require traffic to continue to be sent to a pod that is in a ...
0
votes
0
answers
683
views
Getting rsyslog to fwd to Splunk from Ubuntu .20.04
So I've got an Ubuntu 20.04 LTS server setup with Haproxy and I'm trying to fwd log info to Splunk Cloud.
I have the Haproxy.cfg with a Global entry:
log 127.0.0.1 local4
And I've got an entry in /...
0
votes
0
answers
2k
views
HAproxy + Transparent Squid configuration
I tried configuring squid to be a transparent proxy and then connecting it to a HAProxy load balancing server on CentOS 7.
My squid configuration is this:
http_access allow localnet
http_access allow ...