PHP Classes
elePHPant
Icontem

File: config/haproxy.cfg

Recommend this page to a friend!
  Classes of Will Tinsdeall  >  Boiler Framework  >  config/haproxy.cfg  >  Download  
File: config/haproxy.cfg
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Boiler Framework
Web application framework that implements MVC
Author: By
Last change:
Date: 4 years ago
Size: 555 bytes
 

 

Contents

Class file image Download
global
	log	127.0.0.1	local0
	maxconn	10000
#	user	haproxy
#	group	haproxy
	daemon
	chroot /var/lib/haproxy

defaults
	mode			http
	log			global
	option			httplog
	retries			3
	backlog			10000
	timeout	client		30s
	timeout	connect		30s
	timeout	server		30s
	timeout	http-keep-alive	5s
	timeout	http-request	15s

frontend public
	bind		*:80
	acl		is_websocket hdr(Upgrade) -i WebSocket
	use_backend	ws if is_websocket #is_websocket_server
	default_backend	www

backend ws
	server	ws1	127.0.0.1:82

backend www
	timeout	server	30s
	server	www1	127.0.0.1:81