Skip to content

Instantly share code, notes, and snippets.

@ryunhe
Created March 31, 2018 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryunhe/207d6dc4229f30b6338ad342f1d767fd to your computer and use it in GitHub Desktop.
Save ryunhe/207d6dc4229f30b6338ad342f1d767fd to your computer and use it in GitHub Desktop.
nonda aliyun haproxy config
global
ulimit-n 51200
log 127.0.0.1 local2
chroot /var/lib/haproxy
pidfile /var/run/haproxy.pid
user haproxy
group haproxy
daemon
defaults
mode tcp
log global
option dontlognull
timeout connect 5s
timeout client 1m
timeout server 1m
frontend ss-443
bind *:443
default_backend ss-443
backend ss-443
server server1 52.89.188.118:443 maxconn 20480
server server1 34.214.64.139:443 maxconn 20480
server server1 54.152.172.1:443 maxconn 20480
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment