From 9b5f8c5e056e7bef52eee4bff6b28df56bad41d2 Mon Sep 17 00:00:00 2001 From: Joao Morais Date: Wed, 19 Apr 2017 19:26:17 -0300 Subject: [PATCH] Fix HAProxy rewrite doc --- examples/rewrite/haproxy/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/rewrite/haproxy/README.md b/examples/rewrite/haproxy/README.md index bed9c6118..07c8fc4b3 100644 --- a/examples/rewrite/haproxy/README.md +++ b/examples/rewrite/haproxy/README.md @@ -55,7 +55,7 @@ query=nil Now turn ssl-redirect true: ```console -$ kubectl annotate ingress/app --overwrite ingress.kubernetes.io/ssl-redirect=false +$ kubectl annotate ingress/app --overwrite ingress.kubernetes.io/ssl-redirect=true ingress "app" annotated $ curl -iL 172.17.4.99:30876 -H 'Host: foo.bar' @@ -72,7 +72,7 @@ using a [ConfigMap](https://github.com/jcmoraisjr/haproxy-ingress#configmap). ### App root context redirect -Annotate the `app` ingress resource with `app-root` and also `ssl-redirect` for simplicity: +Annotate the `app` ingress resource with `app-root`, and also `ssl-redirect` to `false` for simplicity: ```console $ kubectl annotate ingress/app --overwrite ingress.kubernetes.io/app-root=/web