Skip to content

How to enable HTTP HA proxy

Uplusware edited this page Nov 21, 2017 · 4 revisions

set "HTTPReverseProxyEnable" to "yes" in /etc/heaphttpd/heaphttpd.conf and restart the service.

  1. Enter into reverse/ directory.

  2. Design delivery policy in reverse/httpreverse.cpp via C/C++

    • Modify the request URL as the following format: http://host1:port1|host2:port2/xxxx or http://host1:port1|host2:port2|host3:port3/xxxx. Only support 3 destination host/port address. Use | to split them.
  3. sudo make install

  4. sudo /etc/init.d/heaphttpd reverse

Clone this wiki locally