Update On Mon Aug 26 20:34:39 CEST 2024

This commit is contained in:
github-action[bot]
2024-08-26 20:34:40 +02:00
parent 2e77f8eb45
commit 4afce62e47
112 changed files with 1924 additions and 896 deletions
@@ -220,3 +220,11 @@ listen console
f_out:write("\n" .. string.format(str, console_port, (console_user and console_user ~= "" and console_password and console_password ~= "") and "stats auth " .. console_user .. ":" .. console_password or ""))
f_out:close()
--passwall内置健康检查URL
if health_check_type == "passwall_logic" then
local probeUrl = uci:get(appname, "@global_haproxy[0]", "health_probe_url") or "https://www.google.com/generate_204"
local f_url = io.open(haproxy_path .. "/Probe_URL", "w")
f_url:write(probeUrl)
f_url:close()
end