Initial stack: FreeRADIUS + Node API + docker-compose

This commit is contained in:
Codex Bot
2025-09-24 14:12:26 -06:00
commit 6ef48911ef
7 changed files with 189 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
rest {
# Timeouts
connect_timeout = 4
read_timeout = 8
# Authorize: llama al API Node
authorize {
uri = "%{env:REST_ENDPOINT:-http://node:3000}/authorize"
method = "post"
body = "json"
# send_all = yes -> envía todos los atributos del paquete
# por defecto rlm_rest ya serializa atributos en JSON
}
# Accounting: opcional
accounting {
uri = "%{env:REST_ENDPOINT:-http://node:3000}/accounting"
method = "post"
body = "json"
}
}