chore(): infrastructure improvements

This commit is contained in:
ITQ
2026-02-12 14:44:25 +03:00
parent 9181d2980a
commit cb9692089f
19 changed files with 134 additions and 270 deletions
+51
View File
@@ -0,0 +1,51 @@
{
log {
output stdout
format json
level INFO
}
}
:80 {
encode gzip zstd
handle_path /static/* {
uri strip_prefix /static
reverse_proxy backend-staticfiles:80 {
fail_duration 30s
max_fails 10
}
}
handle_path /grafana/* {
reverse_proxy grafana:3000 {
fail_duration 30s
max_fails 10
health_uri /grafana
health_interval 10s
health_timeout 2s
}
}
handle {
request_body {
max_size 5976883
}
reverse_proxy backend:8080 {
fail_duration 30s
max_fails 10
health_uri /ready
health_interval 10s
health_timeout 2s
}
}
}
:8404 {
metrics /metrics
log {
output discard
}
}