add /.basedflare/pow-icon (useful with rewrite for custom loading image)

This commit is contained in:
Thomas Lynch
2023-04-29 15:43:35 +10:00
parent 88345216dd
commit 88ba9f264b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -97,7 +97,7 @@ _M.noscript_extra_sha256 = [[
-- title with favicon and hostname
_M.site_name_section = [[
<h3 class="pt">
<img src="/favicon.ico" width="64" height="64" alt=" ">
<img src="/.basedflare/pow-icon" width="64" height="64" alt=" ">
%s
</h3>
]]