chore: 清理调试脚本并收敛到 Ansible 流程
移除已废弃的调试/验证脚本与空目录,统一文档与脚本说明到 ansible-playbook 的部署方式,避免失效引用和误用路径。 Made-with: Cursor
This commit is contained in:
38
ansible/files/01-07-haproxy/haproxy-no-check.cfg
Normal file
38
ansible/files/01-07-haproxy/haproxy-no-check.cfg
Normal file
@@ -0,0 +1,38 @@
|
||||
# 01-07 OpenWrt HAProxy 负载均衡 - 原生最简(无健康检查)
|
||||
# 文档:docs/01-07-openwrt-haproxy.md 第 2 节
|
||||
# 将 192.168.2.61~64 按实际 K3s 节点 IP 修改
|
||||
# 如需健康检查,见第 3 节对应 cfg
|
||||
global
|
||||
log /dev/log local0
|
||||
maxconn 4096
|
||||
|
||||
defaults
|
||||
mode http
|
||||
option httplog
|
||||
timeout connect 5s
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
|
||||
frontend http_in
|
||||
bind *:18080
|
||||
default_backend k3s_http
|
||||
|
||||
frontend https_in
|
||||
bind *:18443
|
||||
mode tcp
|
||||
default_backend k3s_https
|
||||
|
||||
backend k3s_http
|
||||
balance roundrobin
|
||||
server ylc61 192.168.2.61:80
|
||||
server ylc62 192.168.2.62:80
|
||||
server ylc63 192.168.2.63:80
|
||||
server ylc64 192.168.2.64:80
|
||||
|
||||
backend k3s_https
|
||||
mode tcp
|
||||
balance roundrobin
|
||||
server ylc61 192.168.2.61:443
|
||||
server ylc62 192.168.2.62:443
|
||||
server ylc63 192.168.2.63:443
|
||||
server ylc64 192.168.2.64:443
|
||||
Reference in New Issue
Block a user