mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 19:35:13 +08:00
🐶 Sync 2026-04-18 02:04:09
This commit is contained in:
1 parent
411261cf2a
commit
50677d77a8
207 files changed
+3148
-3426
No files matched your search
@@ -22,10 +22,10 @@ start(){
|
||||
log 127.0.0.1 local0 #[日志输出配置,所有日志都记录在本机,通过local0输出]
|
||||
log 127.0.0.1 local1 notice #定义haproxy 日志级别[error warringinfo debug]
|
||||
daemon #以后台形式运行harpoxy
|
||||
nbproc 1 #设置进程数量
|
||||
#nbproc 1 #设置进程数量
|
||||
pidfile /var/run/haproxy.pid
|
||||
ulimit-n 1024 #ulimit 的数量限制
|
||||
maxconn 1024 #默认最大连接数,需考虑ulimit-n限制
|
||||
#ulimit-n 1024 #ulimit 的数量限制
|
||||
#maxconn 2048 #默认最大连接数,需考虑ulimit-n限制
|
||||
#chroot /usr/local/haproxy
|
||||
defaults
|
||||
log global
|
||||
@@ -130,4 +130,4 @@ restart(){
|
||||
else
|
||||
stop;
|
||||
fi
|
||||
}
|
||||
}
|
||||
File renamed without changes.
Reference in new issue
Block a user