Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contour Ingress does not rewrite path in Path mode #35

Closed
paulxuca opened this issue Jul 10, 2022 · 2 comments
Closed

Contour Ingress does not rewrite path in Path mode #35

paulxuca opened this issue Jul 10, 2022 · 2 comments

Comments

@paulxuca
Copy link

Hi there!

We are seeing an issue where using the contour router does not rewrite request paths without the assigned game server prefix (i.e /game-server-prefix/path-to-get does not get rewritten to just /path-to-get when hitting the game server pod). AFAIK nginx ingress does support it.

Anyway we can get the same behaviour with contour ingress?

@danieloliveira079
Copy link
Contributor

danieloliveira079 commented Jul 13, 2022

@paulxuca could you please give me a bit more information about your setup?

I think the contour only does rewrite if you use https://projectcontour.io/docs/v1.21.0/config/request-rewriting/.

The Octops Controller is not using the HTTPProxy resource. It only generates the Ingress and annotations.

For your information, you can use the template to inject the game server name wherever you need in the manifest.
https://github.com/Octops/gameserver-ingress-controller#path

It would help if you could share the manifest and configuration you are trying to use.

@danieloliveira079
Copy link
Contributor

Closing due to the lack of activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants