Skip to content

Commit 10b545a

Browse files
authored
doc(ingress): add link to the rewrite-target doc (#63)
1 parent 400f5c9 commit 10b545a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: 08-service/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ kubectl delete ingress,service,deployment,rs,pod --all
212212

213213
For 2), you need to add the metadata `nginx.ingress.kubernetes.io/rewrite-target: /` to the ingress:
214214

215+
* It is possible to capture groups from paths into numbered placeholders and pass them to the rewrite target: https://github.com/kubernetes/ingress-nginx/blob/master/docs/examples/rewrite/README.md#rewrite-target
215216
* Don't forget to create 2 deployments and 2 services.
216217
* You can either change your `/etc/hosts` to add the name resolution for `foo.bar.com`, or use `curl http://YOUR-IP -H "Host: foo.bar.com"`
217218

0 commit comments

Comments
 (0)