This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user