Skeleton contracts / contracts (pull_request) Blocked by required conditions
42 lines
1.4 KiB
INI
42 lines
1.4 KiB
INI
global
|
|
log stdout format raw local0
|
|
maxconn 1024
|
|
ssl-default-bind-options ssl-min-ver TLSv1.2 no-tls-tickets
|
|
ssl-default-server-options ssl-min-ver TLSv1.2 no-tls-tickets
|
|
|
|
defaults
|
|
log global
|
|
mode http
|
|
timeout connect 1s
|
|
timeout client 55s
|
|
timeout server 55s
|
|
timeout check 1s
|
|
retries 0
|
|
option http-server-close
|
|
|
|
resolvers docker
|
|
nameserver dns 127.0.0.11:53
|
|
resolve_retries 3
|
|
timeout resolve 1s
|
|
timeout retry 1s
|
|
hold valid 1s
|
|
hold obsolete 1s
|
|
hold nx 1s
|
|
hold refused 1s
|
|
hold timeout 1s
|
|
|
|
frontend public
|
|
bind :8443 ssl crt /identity/server.pem
|
|
unique-id-format %[uuid()]
|
|
acl oversized req.hdr_val(content-length) gt 10485760
|
|
http-request return status 413 content-type application/json lf-string '{"error":{"code":"payload_too_large","message":"Payload exceeds 10 MiB","request_id":"%[unique-id]"}}' hdr X-Request-Id %[unique-id] hdr X-Instance-Id gateway if oversized
|
|
default_backend api
|
|
|
|
backend api
|
|
balance roundrobin
|
|
option httpchk
|
|
http-check send meth GET uri /health/ready ver HTTP/1.1 hdr Host api
|
|
http-check expect status 200
|
|
default-server inter 1s fastinter 500ms downinter 1s fall 2 rise 1
|
|
server-template replica 1-8 api:8080 ssl verify required ca-file /trust/ca.crt verifyhost api sni str(api) crt /identity/client.pem check check-sni api resolvers docker init-addr none
|