From c3a3648469e4bc1e71df2abf86a36e9ee981c329 Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Sat, 22 Jan 2022 13:00:31 +1100 Subject: [PATCH] readme update, remove ssl from haproxy since its just the docker example --- README.MD | 2 +- haproxy/haproxy.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.MD b/README.MD index 3f6c624..5b7bf3b 100644 --- a/README.MD +++ b/README.MD @@ -48,7 +48,7 @@ DDoS-protection mode is enabled by default. #### 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 - Edit the `lua-load` directive to be the absolute path to [register.lua](src/scripts/register.lua) diff --git a/haproxy/haproxy.cfg b/haproxy/haproxy.cfg index d91b77b..2daef8e 100644 --- a/haproxy/haproxy.cfg +++ b/haproxy/haproxy.cfg @@ -75,7 +75,7 @@ backend servers http-response cache-store basic_cache if can_cache # 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 %[req.hdr(host),lower,map(/etc/haproxy/backends.map)] if TRUE