set ssl verify none on template servers

make trace for debug plain for no xss and add ms to timestamp
This commit is contained in:
Thomas Lynch
2022-01-02 01:31:21 +11:00
parent 9787471004
commit 52da926ed2
3 changed files with 10 additions and 21 deletions

View File

@@ -23,7 +23,7 @@ frontend http-in
http-request silent-drop unless is_existing_vhost
#debug only, /cdn-cgi/trace
#http-request return status 200 content-type "text/html; charset=utf-8" lf-file /etc/haproxy/trace.html if { path /cdn-cgi/trace }
#http-request return status 200 content-type "text/plain; charset=utf-8" lf-file /etc/haproxy/trace.txt if { path /cdn-cgi/trace }
# acl for blocked IPs/subnets
acl blocked_ip_or_subnet src,map_ip(/etc/haproxy/blocked.map) -m found
@@ -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
server-template websrv 1-100 0.0.0.0:80 check disabled ssl verify none
# use server based on hostname
use-server %[req.hdr(host),lower,map(/etc/haproxy/backends.map)] if TRUE