Skip to content

Commit

Permalink
Merge pull request #628 from jcmoraisjr/jm-fix-rewrite-doc
Browse files Browse the repository at this point in the history
Fix HAProxy rewrite doc
  • Loading branch information
aledbf authored Apr 20, 2017
2 parents 949c094 + 9b5f8c5 commit 91c0006
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/rewrite/haproxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit 91c0006

Please sign in to comment.