contour icon indicating copy to clipboard operation
contour copied to clipboard

rewrite-target $1 - contour configuration

Open giladk1221 opened this issue 3 years ago • 1 comments

Hi, I'm using the Builtin NSX-T ingress controller for a long time. I decided to implement contour Ingress instead. in the Ingress Manifest, I added relevant annotation for rewrite-target - ingress.kubernetes.io/rewrite-target: /$1(like was configured in NSX-T manifest too). It looks like this configuration didn't do anything with contour.

Is there any other method to implement rewrite-target to /$1 with HTTP proxy or something like that? in the documentation, I can see only mentions of a specific path and didn't see anything for $1 or something similar to this configuration.

waiting for your response,

Gilad

giladk1221 avatar Sep 11 '22 09:09 giladk1221

If you would like to use path rewriting in Contour, take a look at the HTTPProxy resource: https://projectcontour.io/docs/v1.22.1/config/request-rewriting/#path-rewriting

sunjayBhatia avatar Sep 12 '22 13:09 sunjayBhatia

The Contour project currently lacks enough contributors to adequately respond to all Issues.

This bot triages Issues according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, the Issue is closed

You can:

  • Mark this Issue as fresh by commenting
  • Close this Issue
  • Offer to help out with triage

Please send feedback to the #contour channel in the Kubernetes Slack

github-actions[bot] avatar Nov 12 '22 00:11 github-actions[bot]

The Contour project currently lacks enough contributors to adequately respond to all Issues.

This bot triages Issues according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, the Issue is closed

You can:

  • Mark this Issue as fresh by commenting
  • Close this Issue
  • Offer to help out with triage

Please send feedback to the #contour channel in the Kubernetes Slack

github-actions[bot] avatar Dec 13 '22 00:12 github-actions[bot]