Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global
- log stdout local0
- maxconn 100000
- ssl-default-bind-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS
- ssl-default-bind-options ssl-min-ver TLSv1.1
- tune.ssl.default-dh-param 2048
- tune.h2.max-concurrent-streams 100000 # 65535 # 65535 # 8096
- #nbproc 4
- nbthread 4
- cpu-map 1- 0-
- defaults
- log global
- mode http
- timeout connect 5s
- timeout client 30s
- timeout server 30s
- option httplog
- # option logasap
- option http-use-htx
- http-reuse always
- maxconn 100000
- frontend grpc-proxy
- bind :9000 ssl crt /etc/ssl/private/grpc-balancer.pem alpn h2
- default_backend grpc-feeds
- backend grpc-feeds
- balance roundrobin
- server grpc-feeds-01 1.2.3.4:9000 ssl verify none alpn h2 check weight 10
- server grpc-feeds-02 5.6.7.8:9000 ssl verify none alpn h2 check weight 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement