ini HAProxy的-bitbucket.cfg

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ini HAProxy的-bitbucket.cfg相关的知识,希望对你有一定的参考价值。

global
    log 127.0.0.1 local2
    user haproxy
    group haproxy
    chroot /var/lib/haproxy
    pidfile /var/run/haproxy.pid
    daemon
    maxconn 1000

defaults
    log global
    mode http
    option httplog
    option dontlognull
    timeout connect 5000
    timeout client  50000
    timeout server  50000
 
frontend hafrontend
    bind *:80
    mode http
    default_backend bitbucket_http_backend

backend bitbucket_http_backend
    mode http
    option httplog
    option forwardfor
    option http-server-close
    option httpchk
    server bitbucket01 10.0.3.155:7990 maxconn 50

以上是关于ini HAProxy的-bitbucket.cfg的主要内容,如果未能解决你的问题,请参考以下文章

ini 示例haproxy配置

ini HAproxy Snippets

ini haproxy.cfg

ini 使用HAproxy进行速率限制

ini Stack Exchange HAProxy

ini Stack Exchange HAProxy