This commit is contained in:
2026-10-29 15:00:36 +03:00
parent ec540a1a72
commit 1706ddca25
56 changed files with 5935 additions and 19 deletions
+45
View File
@@ -0,0 +1,45 @@
global
log stdout format raw local0 info
maxconn 4096
resolvers docker
nameserver dns 127.0.0.11:53
resolve_retries 3
timeout resolve 1s
timeout retry 1s
hold valid 2s
hold obsolete 5s
accepted_payload_size 8192
defaults
mode http
log global
option httplog
option dontlognull
timeout connect 1s
timeout client 75s
timeout server 75s
timeout http-request 5s
timeout http-keep-alive 10s
timeout check 500ms
retries 2
retry-on conn-failure
option redispatch 1
frontend public
bind :8080
default_backend api
backend api
balance roundrobin
option httpchk GET /health/ready
http-check expect status 200
default-server check inter 1s fastinter 500ms downinter 1s fall 2 rise 2 init-addr none resolvers docker resolve-prefer ipv4
server-template api 8 api:8080
frontend internal_stats
bind :8404
monitor-uri /healthz
stats enable
stats uri /stats
stats refresh 5s