Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4745

Pdf files not loading through HaProxy

$
0
0

@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 2048

defaults
log global
mode http
option httplog
option dontlognull
timeout connect 5000
timeout client 50000
timeout server 50000

frontend 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?stats

backend 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 webserver4

thanks in advance
Prasanth

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>