Upgrade HAProxy to 2.4.2; Added examples
This commit is contained in:
parent
0429f9a366
commit
364fce10d1
8 changed files with 170 additions and 21 deletions
17
examples/static/config.yml
Normal file
17
examples/static/config.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
stats:
|
||||
username: admin
|
||||
password: password
|
||||
port: 1936 # Optional (default 1936)
|
||||
|
||||
customerrors: true # Optional (default false)
|
||||
|
||||
easymapping:
|
||||
- port: 80
|
||||
redirect:
|
||||
host1.local: https://host1.local
|
||||
www.host1.local: https://host1.local
|
||||
|
||||
- port: 443
|
||||
ssl_cert: /etc/certs/host1.local.pem
|
||||
hosts:
|
||||
host1.local: container:8080
|
||||
Loading…
Add table
Add a link
Reference in a new issue