Tag Info

Hot answers tagged

2

Squid and haproxy are two very different products. Those features make no sense to be a part of haproxy.


2

If you're not caching or performing content switching (making "routing" decisions based on HTTP URL or headers) why would you need to use something that far up the stack. Just use IPtables to NAT the connections.


2

After trying to find ways to debug with HAProxy I finally gave in and used tcpdump to debug the network traffic. By importing the TLS key and the PCAP file into my SSL-enabled Wireshark, I found the error very quickly: The Root CA was unknown to HAProxy, so the verify was failing. It turned out, a coworker changed the cert but didn't know this PEM needs ...


1

You can now do this http://nginx.org/en/docs/http/ngx_http_log_module.html The if parameter (1.7.0) enables conditional logging. A request will not be logged if the condition evaluates to “0” or an empty string map $request_uri $loggable { / 0; /healthcheck.html 0; default 1; } server { ... access_log /var/log/nginx/access.log combined ...


1

In the situation you describe, you'd still be limited to 1gbps, but it would be spread over your 4 other servers. It might be possible to get more out of it, but we'd need more details about those 5 connections and the underlying infrastructure.


1

The maxsock value is the maximum number of sockets that the HAProxy process can create. On most installations I've seen, it's exactly equal to the value for ulimit-n, meaning it's automatically computed. ulimit-n [number] Sets the maximum number of per-process file-descriptors to [number]. By default, it is automatically computed, so it is ...


1

Longneck is right, but to fully answer your question: No. HAproxy doesn't support that feature and almost certainly never will.


1

Unfortunately, it seems like this is still a work in progress. Have you considered using a separate nginx proxy? So that you forward requests for that backend to an nginx instance, which then does DNS resolution and forwards the request? Not ideak, but may work in a lower traffic environment.


1

Simply have the FileZilla FTP server announce the correct external ip-address used by HA-proxy, which is something you can configure in Options --> Passive Mode Settings Normally the Linux kernel uses helper modules that scan the clear text FTP command channel for the PASV response to dynamically change that to the correct NAT response and/or to ...


1

Well, you don't say what version of HAProxy you're using, but assuming it's 1.5.x, you could use the urlp fetch method something like so: acl IsMale urlp(gender) 0 acl IsFemale urlp(gender) 1 use_backend T1 if IsMale use_backend T2 if IsFemale There's more details on the urlp fetch here.



Only top voted, non community-wiki answers of a minimum length are eligible