haproxy Questions
5
I have several instances of socket.io with authentication running under HAProxy and I need to force that the authentication request and the socket connection go to the same instance. I've set up HA...
Superintendency asked 16/11, 2011 at 9:3
4
With my NGinx setup I was able to intercept OPTIONS requests from ajax preflight and respond with the correct CORS headers and a 200 response so the request could continue onwards. I am attempting ...
2
Solved
I have a microservice deployed on 3 nodes sitting behind a HAProxy load balancer all inside internal network. The services are protected using OAuth2 APIS authorization server. Now, I want to move ...
2
I am new to HAProxy and I have a question about HAProxy configuration which helps me make a key decision in taking the right approach. This will greatly help me deciding the architecture.
I have 3...
Aldehyde asked 16/12, 2013 at 8:42
3
Does haproxy supports udp loadbalancing?
We're just using a simple python script on backend server which will be listening on specific port for the udp packects.
Breathtaking asked 16/7, 2015 at 10:12
1
After a period of inactivity, my go web service is getting a net.OpError with message read tcp x.x.x.x:52086->x.x.x.x:24414: read: connection reset by peer when executing the first postgres sql ...
Deme asked 14/5, 2018 at 20:14
3
Solved
I'm trying to match various conditions inside one backend, like this:
acl rule1 hdr_dom(host) -i ext1
acl rule2 utl_beg /img
default_backend back-server-http if rule1 and rule2
but, how can I pu...
7
We've setup 3 servers:
Server A with Nginx + HAproxy to perform load balancing
backend server B
backend server C
Here is our /etc/haproxy/haproxy.cfg:
global
log /dev/log local0
log 127.0.0...
Jasmin asked 21/12, 2012 at 17:32
4
Solved
HAProxy is unable to load .pem files generated by letsencrypt, why is this?
The error I'm seeing is:
parsing [/haproxy.cfg:37] : 'bind :443' : unable to load SSL private key from PEM file '/certs/c...
Intolerant asked 17/12, 2015 at 11:34
2
Solved
I'm using the default HAProxy Docker image from https://github.com/dockerfile/haproxy
Unfortunately I can't get it to reload my config properly.
If I run
$ sudo docker exec haprox haproxy -f /...
6
Solved
I'm building an haproxy config file that has multiple front and backends. It's going to be several hundred lines long and I'd rather split it up into separate files for each of the different ...
Accouterment asked 10/9, 2014 at 21:52
5
Solved
I installed HAProxy for load ballancing before. How can I check what is my haproxy version which installed before in mu ubuntu?
3
2
Solved
How do I proxy requests to NTLM-protected websites, like TeamFoundation and SharePoint? I keep getting 401 authentication errors.
Grannias asked 30/1, 2017 at 12:56
2
I use the following configuration to access internet from local 127.0.0.1:2000 proxy to the internet.:
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
#log loghost local0 info
maxconn ...
Sheeting asked 23/11, 2015 at 10:56
2
Solved
var (
httpClient *http.Client
)
const (
MaxIdleConnections int = 20
RequestTimeout int = 5
)
// init HTTPClient
func init() {
client := &http.Client{
Transport: &http.Transport{
Max...
Mcknight asked 6/9, 2020 at 2:18
0
Upstream blocks in nginx open source allow you to enable keepalive connections to reverse-proxied servers (docs: http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive).
Syntax: kee...
Rentsch asked 2/7, 2020 at 19:1
3
I see that kubernetes can use ClusterIP and NodePort and LoadBalancing. For loadbalancing it requires cloud.
If I do not have cloud provider how can I loadbalance traffic between nodes?!
I know th...
Thera asked 14/3, 2019 at 12:44
1
Solved
I am quite familiar with the HTTP protocol and a little bit of HAProxy, but I have never really messed with URL rewrites and redirects before. Now, I have 2 "simple" HTTP redirect require...
Octavia asked 4/6, 2020 at 13:8
2
I want to use haproxy to deploy one ftp proxy server. Here's scene:
ftp client <---> ftp-proxy-server(ip:10.0.1.1) <---> ftp-server(ip:172.126.1.1)
ftp server listen on port 21 for control ...
Soria asked 7/11, 2014 at 5:14
1
Solved
I'm using dns names for my backend servers in my hsproxy.cfg like
backend s0
server server0 server0.x.y.local:8080
backend s1
server server1 server1.x.y.local:8080
The name resolution works f...
Embree asked 7/5, 2020 at 10:3
2
My letsencrypt order keeps pending. I am using cert-manager on my single node kubernetes plane. Also I am using letsencrypt.
kind: Certificate
metadata:
name: example-zone
namespace: defau...
Ugo asked 17/8, 2019 at 15:56
2
Solved
this should be a pretty simple rewrite rule, but I can't get it working. I want to rewrite Request as follows:
http://acme.org/FOO/BAR
to
http://FOO.acme.org/BAR
FOO is some simple string in...
Burgoo asked 5/3, 2014 at 16:27
1
Solved
I want to replace haproxy with traefik. But in order to that, I have to replace a Lua script which handles authentication (via auth token calling a rest API) and custom redirect (certain docker ser...
2
Solved
Currently, I have a single client (component) having a single persistent TCP connection with the server(another component), and messages are exchanged asynchronously. I wanted to have a load balanc...
Nocturnal asked 25/5, 2018 at 5:56
© 2022 - 2024 — McMap. All rights reserved.