HAProxy community

Redirecting HTTPS to HTTPS

#1

Hello!

Does HAProxy have any ways to make redirect for HTTPS traffic to HTTPS?

#2

Elaborate please.

#3

such construction does not work

redirect prefix <site-to> code 301 if { req.ssl_sni -i <site-from> }