Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. global
  2. log stdout local0
  3. maxconn 100000
  4. ssl-default-bind-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS
  5. ssl-default-bind-options ssl-min-ver TLSv1.1
  6. tune.ssl.default-dh-param 2048
  7. tune.h2.max-concurrent-streams 100000 # 65535 # 65535 # 8096
  8. #nbproc 4
  9. nbthread 4
  10. cpu-map 1- 0-
  11.  
  12. defaults
  13. log global
  14. mode http
  15. timeout connect 5s
  16. timeout client 30s
  17. timeout server 30s
  18. option httplog
  19. # option logasap
  20. option http-use-htx
  21. http-reuse always
  22. maxconn 100000
  23.  
  24. frontend grpc-proxy
  25. bind :9000 ssl crt /etc/ssl/private/grpc-balancer.pem alpn h2
  26. default_backend grpc-feeds
  27.  
  28. backend grpc-feeds
  29. balance roundrobin
  30.  
  31. server grpc-feeds-01 1.2.3.4:9000 ssl verify none alpn h2 check weight 10
  32. 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