initial commit

This commit is contained in:
2026-03-14 20:56:04 +01:00
commit 9b1aa393b3
38 changed files with 1517 additions and 0 deletions

18
haproxy/backend.sh Normal file
View File

@@ -0,0 +1,18 @@
curl -X POST \
--user admin:adminpwd \
-H "Content-Type: application/json" \
-d '{
"name": "lololo",
"mode": "http",
"balance": {
"algorithm": "roundrobin"
},
"default_server": {
"alpn": "h2",
"check": "enabled",
"check_alpn": "h2",
"maxconn": 30,
"weight": 100
}
}' \
"http://192.168.0.200:8080/v3/services/haproxy/configuration/backends?version=$CFGVER"