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

Wildcard path rule backend routing #51222

Closed
brent-robinson opened this issue Mar 30, 2020 — with docs.microsoft.com · 4 comments
Closed

Wildcard path rule backend routing #51222

brent-robinson opened this issue Mar 30, 2020 — with docs.microsoft.com · 4 comments

Comments

Copy link

brent-robinson commented Mar 30, 2020

The documentation isn't clear on how requests will be routed to the backend with wildcard (*) path based matching.

If I have a path based rule for
/images/*

And a backend HTTP settings path of
/myimages/

When I send a request to
/images/image1.png
will it route to the backend at
/myimages/image1.png
?

What if I request
/images/collection1/myimage.png
Will it route to
/myimages/collection1/myimage.png
?

Or will all requests only route to
/myimages/
and ignore all parts of the path matched by the wildcard?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@msrini-MSFT
Copy link
Contributor

@brent-robinson , Thank you for your feedback. We will investigate and get back to you shortly.

@msrini-MSFT
Copy link
Contributor

@brent-robinson ,

When I send a request to
/images/image1.png
will it route to the backend at
/myimages/image1.png --> This is correct.

What if I request
/images/collection1/myimage.png
Will it route to
/myimages/collection1/myimage.png --> This is correct.

I have tested it in my environment.

Request from my browser: http://20.44.40.74/images/collection1/myimage.png

Taken a packet capture at the server:
Http: Request, GET /myimages/collection1/myimage.png

Let me know if you have any further questions.

@msrini-MSFT
Copy link
Contributor

@brent-robinson , Do you have any update for me?

@brent-robinson
Copy link
Author

brent-robinson commented Mar 31, 2020 via email

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

No branches or pull requests

3 participants