This commit is contained in:
2026-11-20 15:30:33 +03:00
parent 20afc2c790
commit 36a56b3fe3
187 changed files with 431228 additions and 291 deletions
+23
View File
@@ -0,0 +1,23 @@
global
maxconn 256
ssl-default-bind-options ssl-min-ver TLSv1.3 no-tls-tickets
defaults
mode tcp
timeout connect 3s
timeout client 45s
timeout server 45s
frontend loki
bind :3100 ssl crt /run/identity/service.pem ca-file /run/trust/ca.crt crl-file /run/trust/ca.crl verify required
mode http
acl permitted_role ssl_c_s_dn(CN) -m str otel-collector grafana operator
http-request deny deny_status 403 unless permitted_role
acl is_collector ssl_c_s_dn(CN) -m str otel-collector
http-request deny if is_collector !{ path -m str /otlp/v1/logs }
http-request deny if is_collector !{ method POST }
http-request deny unless is_collector || { method GET }
default_backend loki_local
backend loki_local
mode http
server local 127.0.0.1:13100