31 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| global
 | |
|         log /dev/log    local0
 | |
|         log /dev/log    local1 notice
 | |
|         daemon
 | |
| 
 | |
|         ca-base /etc/ssl/certs
 | |
|         crt-base /etc/ssl/private
 | |
| 
 | |
|         ssl-default-bind-ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
 | |
|         ssl-default-bind-ciphersuites TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256
 | |
|         ssl-default-bind-options ssl-min-ver TLSv1.2 no-tls-tickets
 | |
| 
 | |
| defaults
 | |
|         log     global
 | |
|         mode    http
 | |
|         option  httplog
 | |
|         option  dontlognull
 | |
|         timeout connect 5000
 | |
|         timeout client  50000
 | |
|         timeout server  50000
 | |
| 
 | |
| frontend mare
 | |
|         bind :6000
 | |
|         default_backend mare-servers
 | |
| 
 | |
| backend mare-servers
 | |
|         balance leastconn
 | |
|         cookie SERVER insert indirect nocache
 | |
|         server mare1 mare-shard-1:6000 cookie mare1
 | |
|         server mare2 mare-shard-2:6000 cookie mare2
 | 
