@prasa880 wrote:
Hi all,
i have setup haproxy with ssl enabled , when i opened pdf files from direct webserver it is working fine with https. when my connection goes through haproxy load balancer pdf’s files are not loading …
i dont what is the issue.here is my haproxy config:
global
log /dev/log local0 info
log /dev/log local1 notice
stats timeout 30s
chroot /var/lib/haproxy
user haproxy
group haproxy
daemon
tune.ssl.default-dh-param 2048defaults
log global
mode http
option httplog
option dontlognull
timeout connect 5000
timeout client 50000
timeout server 50000frontend http_front
bind *:80
bind *:443 ssl crt /etc/httpd/ssl/bbnl.pem
option forwardfor
default_backend http_back
reqadd X-Forwarded-Proto:\ https
redirect scheme https if !{ ssl_fc }
stats uri /haproxy?statsbackend http_back
cookie SERVERUSED insert indirect nocache
balance roundrobin
server webserver3 X.X.X.X:80 check cookie webserver3
server webserver3 X.X.X.X:80 check cookie webserver4thanks in advance
Prasanth
Posts: 3
Participants: 2