User Tools

Site Tools


docu:csheet:sysadm:srv:haproxy:how_to_ssl_proxy_site

SSL Proxy a website using HAProxy sni on server backend


This is useful in case you don't want to host a static content itself, but want to proxy a site for other people (who knows your use case…). It can be used for spying clear text HTTP requests, don't use if for that!


This example proxies delete.nogafam.es to justdeleteme.xyz, setting an anonymous User-Agent (one taken from Tor Browser)

backend justdeleteme
    http-request set-header Host "justdeleteme.xyz"
    http-request set-header User-Agent "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0"
    http-request del-header Cookie
    server deleteme1 185.199.110.153:443 ssl verify none sni req.hdr(host)
docu/csheet/sysadm/srv/haproxy/how_to_ssl_proxy_site.txt · Last modified: 2021/01/12 22:22 by admin