-
Notifications
You must be signed in to change notification settings - Fork 4
How to enable HTTP HA proxy
Uplusware edited this page Nov 22, 2017
·
4 revisions
set "HTTPReverseProxyEnable" to "yes" in /etc/heaphttpd/heaphttpd.conf
and restart the service.
-
Enter into
reverse/
directory. -
Design delivery policy in reverse/httpreverse.cpp via C/C++
- Modify the request URL as the following format:
http://domain_name_or_ip1:port1|domain_name_or_ip2:port2/xxxx
orhttp://domain_name_or_ip1:port1|domain_name_or_ip2:port2|domain_name_or_ip3:port3/xxxx
. - Only support 3 destination host/port address. Use | to split them.
- Modify the request URL as the following format:
-
sudo make install
-
sudo /etc/init.d/heaphttpd reverse
to reload the reverse extension.