mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
add /.basedflare/pow-icon (useful with rewrite for custom loading image)
This commit is contained in:
@ -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
|
||||
|
@ -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>
|
||||
]]
|
||||
|
Reference in New Issue
Block a user