From 061afecf703f54b9a95e8c58015677001dc67ba2 Mon Sep 17 00:00:00 2001 From: Richard Tuin Date: Wed, 2 Sep 2015 09:31:45 +0200 Subject: [PATCH] Correct the redirect examples in pillar.example --- pillar.example | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pillar.example b/pillar.example index 51a2b08..17654b3 100644 --- a/pillar.example +++ b/pillar.example @@ -106,7 +106,8 @@ haproxy: frontend1: name: www-http bind: "*:80" - redirect: scheme https if !{ ssl_fc } + redirects: + - scheme https if !{ ssl_fc } reqadd: - "X-Forwarded-Proto:\\ http" default_backend: www-backend @@ -131,7 +132,8 @@ haproxy: backend1: name: www-backend balance: roundrobin - redirect: scheme https if !{ ssl_fc } + redirects: + - scheme https if !{ ssl_fc } servers: server1: name: server1-its-name @@ -140,7 +142,8 @@ haproxy: check: check static-backend: balance: roundrobin - redirect: scheme https if !{ ssl_fc } + redirects: + - scheme https if !{ ssl_fc } options: - http-server-close - httpclose