From 88ba9f264ba9317d4681bd5a20cf76aa5f531d16 Mon Sep 17 00:00:00 2001 From: Thomas Lynch Date: Sat, 29 Apr 2023 15:43:35 +1000 Subject: [PATCH] add /.basedflare/pow-icon (useful with rewrite for custom loading image) --- haproxy/haproxy.cfg | 2 +- src/lua/scripts/templates.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haproxy/haproxy.cfg b/haproxy/haproxy.cfg index ab4089b..a35951c 100644 --- a/haproxy/haproxy.cfg +++ b/haproxy/haproxy.cfg @@ -68,7 +68,7 @@ frontend http-in # acl for lua check whitelisted IPs/subnets and some excluded paths acl is_excluded src,map_ip(/etc/haproxy/map/whitelist.map) -m found - acl is_excluded path /favicon.ico #add more + acl is_excluded path /favicon.ico /.basedflare/pow-icon #add more # acl ORs for when ddos_mode_enabled acl ddos_mode_enabled_override str("true"),map(/etc/haproxy/map/ddos_global.map) -m found diff --git a/src/lua/scripts/templates.lua b/src/lua/scripts/templates.lua index 4d5fadc..9777b8b 100644 --- a/src/lua/scripts/templates.lua +++ b/src/lua/scripts/templates.lua @@ -97,7 +97,7 @@ _M.noscript_extra_sha256 = [[ -- title with favicon and hostname _M.site_name_section = [[

-  +  %s

]]