haproxy job from cf/209
The HAProxy server can be used to terminate SSL in front of the Routers. Each HAProxy instance should point to multiple Routers.
Github source:
35f75e02
or
master branch
Properties¶
ha_proxy
¶
disable_http
¶Disable port 80 traffic
- Default
false
ssl_ciphers
¶List of SSL Ciphers that are passed to HAProxy
- Default
ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-CBC-SHA256:ECDHE-RSA-AES256-CBC-SHA384:ECDHE-RSA-AES128-CBC-SHA:ECDHE-RSA-AES256-CBC-SHA:AES128-SHA256:AES128-SHA:RC4-SHA
ssl_pem
¶SSL certificate (PEM file)
networks
¶
apps
¶HAProxy network information.
request_timeout_in_seconds
¶
Server and client timeouts in seconds
- Default
900
router
¶
port
¶Listening port for Router
- Default
80
servers
¶
z1
¶Array of the router IPs acting as the first group of HTTP/TCP backends
- Default
[]
z2
¶Array of the router IPs acting as the second group of HTTP/TCP backends
- Default
[]
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/haproxy/
directory
(learn more).
bin/haproxy_ctl
(fromhaproxy_ctl
)config/cert.pem
(fromcert.pem.erb
)config/haproxy.config
(fromhaproxy.config.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.