Add ability to create redirect
add support use one backend for several URLs
add section for frontend in README
Change-Id: I3ddef66b72f5681d08cef8a5042e7755591d3de7
diff --git a/README.rst b/README.rst
index 108398e..871f567 100644
--- a/README.rst
+++ b/README.rst
@@ -323,6 +323,44 @@
port: 6379
params: check inter 1s
+Frontend for routing between exists listeners via URL with SSL an redirects.
+You can use one backend for several URLs.
+
+.. code-block:: yaml
+
+ haproxy:
+ proxy:
+ listen:
+ service_proxy:
+ mode: http
+ balance: source
+ format: end
+ binds:
+ - address: ${_param:haproxy_bind_address}
+ port: 80
+ ssl: ${_param:haproxy_frontend_ssl}
+ ssl_port: 443
+ redirects:
+ - code: 301
+ location: domain.com/images
+ conditions:
+ - type: hdr_dom(host)
+ condition: images.domain.com
+ acls:
+ - name: gerrit
+ conditions:
+ - type: hdr_dom(host)
+ condition: gerrit.domain.com
+ - name: jenkins
+ conditions:
+ - type: hdr_dom(host)
+ condition: jenkins.domain.com
+ - name: docker
+ backend: artifactroy
+ conditions:
+ - type: hdr_dom(host)
+ condition: docker.domain.com
+
Read more
=========