Displaying 2 results from an estimated 2 matches for "reqadd".
Did you mean:
readd
2011 Oct 18
3
haproxy ssl
...sing haproxy on centos 5.7.
I am using HA-Proxy version 1.4.18
Here is the stanza in the config regarding SSL:
listen https 192.168.1.200:443
mode tcp
balance roundrobin
option forwardfor except 192.168.1.200
option redispatch
maxconn 10000
reqadd X-Forwarded-Proto:\ https
server web1 web1.summitnjhome.com:443 maxconn 5000
server web2 web2.summitnjhome.com:443 maxconn 5000
I can connect to https on each web server and have it serve content. the IP 192.168.1.200 is a virtual IP created with keepalived and floating between t...
2016 Jun 24
1
haproxy + Apache + virtual hosts -> wrong host is displayed
...tp
option http-server-close
option forwardfor except 127.0.0.0/8
option redispatch
....
frontend public
bind 144.76.184.151:80
bind 144.76.184.151:443 ssl crt /etc/pki/tls/certs/slova.de.pem
reqidel ^X-Forwarded-Proto:
reqidel ^X-Forwarded-For:
reqadd X-Forwarded-Proto:\ https if { ssl_fc }
option forwardfor
default_backend apache
backend apache
server domain 127.0.0.1:8080
The /etc/httpd/conf/httpd.conf binds Apache
to port 8080 and serves several Wordpress sites:
Listen 127.0.0.1:8080
ServerName 144.76.184.151
<VirtualHost 1...