URL Redirection
@redsox2002 wrote: Hey guys, I'm a haproxy newbie. How would one redirect a URL in Haproxy? So I have a URL that is https://website.com/text/conversation. In my config I want to have it so if a user...
View ArticleWant to match optional trailing slash
@ctgreybeard wrote: I'm running 1.6.9 built recently with USE_PCRE=1 on my Raspberry Pi. I want to allow the URLs http://server.mydomain.com/subdir-or-http://server.mydomain.com/subdir/ to match What...
View ArticleHow can i achieve nginx proxy_pass $scheme://$http_host$uri$is_args$args; in...
@anannaya wrote: How can i achieve nginx proxy_pass $scheme://$http_host$uri$is_args$args; in haproxy Posts: 9 Participants: 2 Read full topic
View ArticleBackend as subdir?
@ctgreybeard wrote: I had such great success with my first question that I thought I would ask my next one. I'm looking for whether this is possible and what the general approach might be. I'd like to...
View ArticleIs regex replace the only option for HTTPS termination redirects?
@denarced wrote: I have a setup where I use HAProxy for load balancing and HTTPS termination. I only allow HTTPS connections and therefore HAProxy returns redirects for all HTTP connections. However,...
View ArticleTrouble with case insensitive redirect maps when they contain a number
@jhillz wrote: Having some trouble using case insensitive redirect maps, normally we'd pass the -i flag but from my understanding this isn't possible when using a map the way we are now. Our solution...
View ArticleProxypass/PoxyPassReverse in HAproxy howto
@bevo wrote: Hi, I'm moving proxy setups from apache to HAProxy.All "normal" proxy and loadbalancing setups works already. We even managed to proxy/loadbalance our Sharepoint-servers. I have in apache...
View ArticleHAProxy 1.6 with SNI and different SSL Settings per hostname
@jottschi wrote: Dear Readers,I'm trying to set up haproxy with SNI.I'm getting a GREEN A on SSLlabs for news.rathaus.potsdam.deBut Browsers or haproxy are ignoring my setup with openssl s_client...
View ArticleHAProxy ReverseProxy through DMZ internet proxy
@mrdoomsbuster wrote: We have a vendor provided URL https://vendor.domain.com that we need to reverse proxy to from our HAProxy installation. The machine where we have installed the HAProxy is behind...
View ArticleHttp health check with SSL backend
@cavemandaveman wrote: Hello, I'm having a problem with haproxy health checks. I have a backend that is serving the main service on HTTPS 8443 and serving a health endpoint on HTTP 9000. Is there a...
View ArticleIntercept 302 from backend and proxied new location for the client
@gok wrote: hello, i'm trying to catch a 302 response from backend and proxied request for the client. is it possible ? Posts: 1 Participants: 1 Read full topic
View ArticleWeight 0 vs Disable
@kotarusv wrote: What is the difference between Weight 0 and Disable against backend from persistent connections point of view? We use cookie based routing. We use weight 0 for backends which going...
View ArticleAccess to LOG variables in LUA
@IbereJr wrote: Hi, is there any way to access Log Variables, inside lua script ? perhaps in txn class ? Thanks Posts: 1 Participants: 1 Read full topic
View ArticleGroups possible in Regexs? Alternatives?
@dsfh2992 wrote: So, I have an application that connects via TCP, and the first thing the client sends is a JSON string containing latitude and longitude coordinates. I want to choose the backend...
View ArticleOCSP on haproxy
@bravive wrote: Hi, I would like to setup haproxy as our backend LB. We have a self certificate on client side. The client will use the certificate to connect the haproxy. We would like to use OCSP...
View ArticleLayer6 timeout, check duration
@kotarusv wrote: am seeing lot of these errors although layer 7 checks are successful? any idea? Oct 11 20:52:02 l3irp-id2-02 haproxy-80[31345]: Health check for server sso_server/SSO_1 failed,...
View ArticleSyslog messages being double-tagged localhost AND hostname
@prowla wrote: Hi! I'm getting strange behaviour with haproxy-1.5.14-3.el7.x86_64 on CentOS 7... I've set haproxy to log to syslog with the following lines in the global section of my haproxy.cfg: log...
View ArticleOutput logs in separate files
@rudenkov_sw wrote: Hello, dear friends! Several haproxy ports outputting log in local6. The very same local6 outputs logs to the overall /var/log/local6.log file that is in one file. Required to...
View ArticleHow can I filter http/1.0 connection
@yanggis wrote: Dear folks,Now I use haproxy as a reverse proxy server which has a backend with four servers. I found some guys communicating with my servers with http/1.0 connection method. The log...
View ArticleMatching TCP payloads is not working
@dsfh2992 wrote: OK, so I have a TCP application where the client sends a string as soon as it connects. I want to direct the client to a different backend depending on the content of that string. The...
View Article