Questions tagged [haproxy]

HAProxy is an open source, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Configure rsyslog on a haproxy1.7 container

I'm using HAProxy 1.7 which needs rsyslog to push logs to stdout. Once the container writes logs to stdout, programs like filebeat or fluentd will pickup. Docker container has: Ubuntu 20.04, HAProxy ...
0
votes
0answers
12 views

Unable to receive gRPC error during a response streaming call using HAProxy in HTTP mode

I'm working on a gRPC application that will be served behind HAProxy using the http mode. If the server application immediately (ie. before sending any responses) aborts the response streaming call ...
0
votes
1answer
129 views

haproxy forcing a redirect to login and redirect back

I have a website http://blahblah.com I want to add a login page before anything from http://blahblah.com . I have written some simple login code in php. The issue is that I can't modify the code in ...
0
votes
1answer
62 views

Haproxy multiple frontend/IP wrong backend

I am facing some logical error when using the following configuration. In the configuration, I am trying to integrate a single haproxy server servicing for both Microsoft Exchange as well as the ...
0
votes
0answers
40 views

Load balancing with OPNSense, relayd or haproxy?

There is two main options for load-balancing in OPNsense (and pfSense): relayd and haproxy. pfSense has removed relayd in favour of haproxy [1,2], but OPNsense still supports it. In what usecases we ...
0
votes
1answer
29 views

Wrong client IP passed to Apache from Varnish and HAProxy

I have a setup where I am using Varnish/Hitch >> HAProxy >> Apache. It works except for a problem where the client IP address isn't being passed correctly to the backend Apache server. ...
0
votes
0answers
28 views

Server architecture for high traffic system [duplicate]

we are working on the online exam system, which supposed to have much traffic at the same times, more than 15000 students will log in and make an exam at the same time, we are developing this system ...
1
vote
1answer
95 views

HAproxy with failover to a sorry page

My use case is as follows: In the config I have one frontend that listens on HTTPS and serves to a backend The backend has one or more servers. When all of the backend servers are down, I want to ...
-1
votes
1answer
30 views

Complete Load Balancing solution

I have a Laravel web application based on MariaDB, PHP, Nginx, and ubuntu 20.04. To ensure that my website is always online under heavy traffic, I decided to establish load balancing between my ...
0
votes
0answers
24 views

nginx behind haproxy - pages randomly loading regardles of submited domain

I currently have one web server (10.0.0.77) running nginx with multipple vhosts (couple of wordpress sites and nextcloud installation) all running on 1 IP address and everything is secured with a ...
0
votes
0answers
17 views

haproxy peers as swarm deployment

I am trying to set up an active-active cluster with swarm and haproxy. I am struggling with the peers definition as it takes hostname and IP address into account. With swarm this can be a bit tricky. ...
1
vote
0answers
63 views

URL redirection and TCP proxy in haproxy

In a server with only one ipv4 and running haproxy, i want to redirect an url and proxy another in TCP level, for ssl passthrough purpose. frontend https-frontend bind *:443 mode tcp option ...
0
votes
0answers
18 views

Do we need any special steps for haproxy(https) forward to backend(https) servers

both of the https configuration are using self-signed certificates. if i use ssl verify none , i can foward the traffice to the backend server, but i can’t detect the health for the backend servers ...
0
votes
0answers
48 views

Sticky TCP sessions with IOT sensors

Can anyone help with the correct HA PROXY configuration for TCP IOT Sensors Each IOT sensor has a sim card, and reports as IP:port So most sensors look like they are on same IP but different port (...
0
votes
0answers
31 views

I am unable to provide a valid PEM file to HaProxy despite validating the PEM file and installing the self-signed certificate in the correct places

I will post my private key in its entirety because it is an example for development and debugging purposes. This is the process by which I have created my PEM file: https://serversforhackers.com/c/...

15 30 50 per page
1
2 3 4 5
130