Skip to content

Commit

Permalink
Corrected indentation in example
Browse files Browse the repository at this point in the history
  • Loading branch information
mvillumsen committed Dec 13, 2018
1 parent 1819c5a commit a1e2dc9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/guide/tasks/ssl_redirect.md
Expand Up @@ -20,17 +20,17 @@ spec:
- http:
paths:
- path: /*
backend:
serviceName: ssl-redirect
servicePort: use-annotation
backend:
serviceName: ssl-redirect
servicePort: use-annotation
- path: /users/*
backend:
serviceName: user-service
servicePort: 80
backend:
serviceName: user-service
servicePort: 80
- path: /*
backend:
serviceName: default-service
servicePort: 80
backend:
serviceName: default-service
servicePort: 80
```

!!!note
Expand All @@ -43,4 +43,4 @@ By default, all rules specified in ingress spec will be applied to all listeners

If there is an redirection rule, the ALB ingress controller will check it against every listener(port) to see whether it will introduce infinite redirection loop, and **will ignore that rule for specific listener.**

So for our above example, the rule by `ssl-redirect` will only been applied to http(80) listener.
So for our above example, the rule by `ssl-redirect` will only been applied to http(80) listener.

0 comments on commit a1e2dc9

Please sign in to comment.