25 lines
682 B
INI
25 lines
682 B
INI
global
|
|
# This because haproxy is dumb and likes to use the maxconnection from the kernel and that is super mega huge making haproxy oom
|
|
maxconn 16384
|
|
|
|
resolvers docker
|
|
# To be able to use multiple replicas of invidious
|
|
# using domains
|
|
nameserver dns1 127.0.0.11:53
|
|
|
|
# Prometheus for graphs
|
|
frontend prometheus
|
|
bind *:8404
|
|
mode http
|
|
http-request use-service prometheus-exporter if { path /metrics }
|
|
no log
|
|
|
|
frontend sighelper
|
|
mode tcp
|
|
bind *:13000
|
|
default_backend sighelper
|
|
|
|
backend sighelper
|
|
mode tcp
|
|
balance leastconn
|
|
server-template inv_sig_helper 16 inv_sig_helper_cluster:12999 check resolvers docker init-addr libc,none
|