readme update,

remove ssl from haproxy since its just the docker example
This commit is contained in:
Thomas Lynch
2022-01-22 13:00:31 +11:00
parent 7ea0fe7dc8
commit c3a3648469
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ DDoS-protection mode is enabled by default.
#### Installation #### Installation
Before installing the tool, ensure that HAProxy is built with Lua support (in debian package and ubuntu recommended PPA, it is.) Before installing the tool, ensure that HAProxy is built with Lua support and version >=2.5 for the native httpclient support. For Debian and Ubuntu (and -based) distros, see https://haproxy.debian.net/ for packages.
- Copy [haproxy.cfg](haproxy/haproxy.cfg) to /etc/haproxy - Copy [haproxy.cfg](haproxy/haproxy.cfg) to /etc/haproxy
- Edit the `lua-load` directive to be the absolute path to [register.lua](src/scripts/register.lua) - Edit the `lua-load` directive to be the absolute path to [register.lua](src/scripts/register.lua)

View File

@ -75,7 +75,7 @@ backend servers
http-response cache-store basic_cache if can_cache http-response cache-store basic_cache if can_cache
# placeholder servers, activated by LUA or the control panel # placeholder servers, activated by LUA or the control panel
server-template websrv 1-100 0.0.0.0:80 check disabled ssl verify none server-template websrv 1-100 0.0.0.0:80 check disabled
# use server based on hostname # use server based on hostname
use-server %[req.hdr(host),lower,map(/etc/haproxy/backends.map)] if TRUE use-server %[req.hdr(host),lower,map(/etc/haproxy/backends.map)] if TRUE