add level 3
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Матвей
2026-11-07 22:00:19 +03:00
parent 7b6c10cde9
commit 9cb708335d
14 changed files with 482 additions and 22 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ global
defaults
mode http
log global
option httplog
# Never log raw URLs, query strings, headers or request bodies.
log-format "ingress status=%ST bytes=%B backend=%b server=%s termination=%tsc"
option forwardfor
timeout connect 1s
timeout client 30s
+2
View File
@@ -7,6 +7,8 @@ frontend s3_tls
bind :8333 ssl crt /run/secrets/server.pem ssl-min-ver TLSv1.2
# Multipart form POST is not used by this application; deny it at the boundary.
http-request deny if { method POST }
# Reject repeated Authorization fields; commas inside SigV4 are valid.
http-request deny unless { req.fhdr_cnt(Authorization) eq 1 }
# Only the four locally provisioned SigV4 identities may use this endpoint.
acl admin_auth req.hdr(Authorization) -m reg -f /run/secrets/admin_acl
acl api_auth req.hdr(Authorization) -m reg -f /run/secrets/api_acl