SSL termination using haproxy for hadoop and spark


#1

Hello,

Having some issues with redirects on the spark history page and haproxy on a SSL termination.

Home page works great; SSL certificate is valid.

Bit if you click on any job history links; Its seems the spark history page redirects to http; almost like it skips haproxy somehow.

Wondering if I am missing something simple in my configurations;

#spark
frontend jtest6
bind *:29205 ssl crt /root/cert/mykey
bind *:29999
mode http
option httpclose
option http-server-close
option forwardfor
reqadd X-Forwarded-Proto:\ https

#backend jtestb6
mode http
balance source
server server1 192.168.0.17:18080