-
Notifications
You must be signed in to change notification settings - Fork 1
/
haproxy.cfg.template
37 lines (33 loc) · 1 KB
/
haproxy.cfg.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
defaults
timeout connect 5s
timeout client 50s
timeout server 50s
#frontend http-to-https
# mode http
# bind *:80
# # for debugging purposes uncommenting the following option will enable HTTP logging
# #option httplog
# use_backend http-to-https
#backend http-to-https
# mode http
# # ssl enables SSL for connections to the server
# # verify none disables certificate verifications
# server example.com 192.168.0.1 ssl verify none
#listen http
# mode tcp
# bind *:80
# # for debugging purposes uncommenting the following option will enable TCP logging
# #option tcplog
# server <name> <address>
#listen smb
# mode tcp
# bind *:445
# # for debugging purposes uncommenting the following option will enable TCP logging
# #option tcplog
# server <name> <address>
#listen nfs
# mode tcp
# bind *:2049 # nfs
# # for debugging purposes uncommenting the following option will enable TCP logging
# #option tcplog
# server <name> <address>