What setting in my default prevents setting "log-format"
I am having in my haproxy.cfg at defaults a log-format without timestamp for syslog. But I do not get why it is not being accepted in my defaults section. This is my defaults which does haproxy does...
View ArticleTCP connection migration
Hi there! We have a TCP streaming server that accepts TCP streams from clients which can be open for weeks at a time. We’re looking for a zero downtime deployment solution for our TCP streaming...
View ArticlePfsense HAProxy-devel stopped working after update
Hi! After a package update, HAProxy-devel stopped working for me. The version im using is 0.62_4. (haproxy-2.2.14) I have a lot of backend servers configured, and a few fronteds. (Multiple domains...
View Article503 Service Unavailable error
Hello, 1 week ago i‘ve setup an opnsense firewall with haproxy and letsencrypt. i did the setup exactly as described here: Klick Instead of many different vlans i only use 1 subnet: 192.168.1.1/32 And...
View ArticleMultiple port on the same server behind the same backend
Hello, I’m using haproxy with my ceph cluster and I’ve created more gateways on 1 server with different ports. I’ve added to the backend configuration with the different port numbers but seems like...
View ArticleHelp with cookie
Hi All, I have an authentication server in front of my haproxy through which users authenticate and the authentication server sends a cookie in header to haproxy like seg=7769326326921 ( some rando...
View ArticleEncoded URL not matching path_beg or url_dec
Hello, I have a restricted_access acl applying based on a path_beg check for specific sub-pages of websites. This works fine for web browser requests and correctly returns a 403 error, however when...
View ArticleNexcloud behind HAproxy on pfsense - config question
I apologize for my ignorance on the topic. I am just learning and am stuck for a few hours now on this problem. I have several “servers” setup and working on HAproxy, however I can not get Nextcloud...
View ArticleHAProxy constant downwards trend on memory usage
Hi HAProxy Community, I have deployed HAProxy as a load balancer in front of two Bitbucket applications. Production traffic has recently been diverted to hit HAProxy and I am seeing a worrying...
View ArticleHow to get Description value
Need help! Can’t manage to get description of frontend or backend section via RunAPI or DATA-PLANE-API. I see it on the statistic page next to PROXY name. Do I have to parse config for that or just...
View ArticleTake content from specific URL and can see it with specific frontend URL
ok first post here, doing a lot of searching, testing some solutions and nothing working for me. Here what I try to do : I have one server (server1.com/bar) and the thing I want is when the user type...
View ArticleService Unavailable
Server unavailable Hello, I have a domain and subdomains. My different servers have a private IP address and HAProxy has a public IP address. I have put at my registrar the public address of my...
View ArticleURL redirect with acl
Hello Experts I am trying to archive URL redirect based on the pattern in URL. Regex seems to be fine. I confirmed that with haproxy - Regex Tester/Debugger But I am not able to achieve the expected...
View ArticleHAPROXY & PostgreSQL
Hi, I’m having a repeating issue that meets me every few month. The problem is that suddenly i see on PostgreSQL lots of “idle in transaction” for about 1 second and also, on PostgreSQL logs i get...
View ArticleHow to set Authorization header from request and send it to backend server -...
Config file: listen https_proxy bind 0.0.0.0:443 http-request set-var(txn.authorization) hdr(Authorization) use_backend node backend node option forwardfor http-request add-header Authorization...
View ArticleFair SPOP load balancing for SPOA agents
Hello , I configured my HP load balancer with a SPOE frontend filter. This filter requests additional data for the calling IP to a SPOA agent. The amount of SPOP requests to my SPOA is quite...
View ArticleNot logging connections with letencrypt
We have two configurations using haproxy: Production: With SSL cert on AWS NLB. Haproxy binds to port 80. Logging is working fine, for example: Jul 14 09:41:04 localhost haproxy[996]:...
View ArticleStats CSV page: curl: (18) transfer closed with outstanding read data remaining
Greetings, I’m running the latest HAProxy 2.4.2 here with a quite simple configuration for a stats page: # Stats Page frontend stats-front bind *:8080 mode http default_backend stats-back backend...
View ArticleRedirect based on hostname
Hello there, I’m having trouble setting up HAProxy for my application. I need to redirect to a path based on the hostname. For example the server where HAProxy is listening respond to two hostnames:...
View ArticleBackend redirecting https-termination to http
Hello, i have a situation, which i believe to be quite typical actually: A haproxy (1.5) shall be used as reverse proxy for ssl termination for multiple webservice backends, which themselves are not...
View Article