CJ_Clippy c6e9109774
Some checks failed
ci / build (push) Successful in 7m55s
ci / Tests & Checks (push) Failing after 6m48s
a ansible & tf playbooks
2025-03-09 05:09:25 -07:00

22 lines
492 B
Django/Jinja

bright.futureporn.net {
root * /usr/share/futureporn
file_server
# Define the upstream servers for load balancing
reverse_proxy {% for host in groups['bright'] %}{{ hostvars[host]['internal_ip'] }}:4000 {% endfor %} {
# Load balancing policy (optional, defaults to "random")
lb_policy round_robin
# Health checks (optional)
health_uri /api/health
health_interval 10s
health_timeout 5s
}
handle_errors {
respond "💥 Error ~ {err.status_code} {err.status_text}"
}
}