CJ_Clippy 4a9a04ee86
Some checks failed
ci / build (push) Failing after 0s
ci / Tests & Checks (push) Failing after 1s
add vcsi to requirements
2025-07-19 11:47:22 -08:00

24 lines
492 B
Django/Jinja

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