Skip to content

Commit

Permalink
Merge pull request #783 from unixwitch/nginx-app-root
Browse files Browse the repository at this point in the history
nginx/README.md: clarify app-root and fix example hyperlink
  • Loading branch information
aledbf committed May 28, 2017
2 parents bad009e + 6d3e966 commit f00823f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/nginx/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ Set the annotation `ingress.kubernetes.io/rewrite-target` to the path expected b

If the application contains relative links it is possible to add an additional annotation `ingress.kubernetes.io/add-base-url` that will prepend a [`base` tag](https://developer.mozilla.org/en/docs/Web/HTML/Element/base) in the header of the returned HTML from the backend.

If the Application Root is exposed in a different path and needs to be redirected, the annotation `ingress.kubernetes.io/app-root` might be used.
If the Application Root is exposed in a different path and needs to be redirected, set the annotation `ingress.kubernetes.io/app-root` to redirect requests for `/`.

Please check the [rewrite](/examples/rewrite/README.md) example.
Please check the [rewrite](/examples/rewrite/nginx/README.md) example.


### Rate limiting
Expand Down

0 comments on commit f00823f

Please sign in to comment.