Installation Steps -HA proxy as reverse proxy

Hi Vinod,

Steps would remain the same as mentioned in my previous post. The SSL certs you wish to install on the haproxy server are to be placed in /etc/ssl/certs/ directory in .pem format. After this, you would simply have to use below configuration in haproxy.cfg file followed by haproxy.service restart to successfully implement SSL/TLS termination.

global

maxconn 4096
user haproxy
group haproxy
daemon
ssl-server-verify none

defaults

mode http
option forwardfor
log 127.0.0.1 local0 notice
maxconn 2000
option httplog
option dontlognull
timeout connect 5000
timeout client 50000
timeout server 50000

frontend http_fe

mode http
bind ha.example.com:443 ssl crt /etc/ssl/certs/hapcert.pem
reqadd X-Forwarded-Proto:\ https
default_backend sharepoint

backend sharepoint

mode http
balance roundrobin
option redispatch
cookie SERVERID insert indirect nocache
server st1 xxx.xxx.xxx.xxx:80 check cookie stcookie01
option http-server-close

Hope this is helpful !