User Tools

Site Tools


sysadmin_misc:haproxy

HAProxy

  • redirect all trafic to https :
redirect scheme https code 301 if !{ ssl_fc }
  • redirect trafic to https for a specific domain :
redirect scheme https code 301 if { hdr(Host) -i www.mydomain.com } !{ ssl_fc }
sysadmin_misc/haproxy.txt · Last modified: 2018/09/25 15:00 (external edit)