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

Regexp in proxy,and placeholder in proxy from,to #1894

Closed
lvhuat opened this issue Sep 28, 2017 · 1 comment
Closed

Regexp in proxy,and placeholder in proxy from,to #1894

lvhuat opened this issue Sep 28, 2017 · 1 comment
Labels
duplicate 🖇️ This issue or pull request already exists

Comments

@lvhuat
Copy link

lvhuat commented Sep 28, 2017

Do these feature will support in future, i'am running my program in docker env, so i want to route my restful apis to my different container,i need any function like:

proxy /v1/users/(.*)/node  {1}.agent

so i may route the path /v1/user/user1001/node to dns address user1001.agent

or maybe some more powerful:

proxy /v1/users/(.*)/node  uppercase({1}).agent
@lvhuat lvhuat closed this as completed Sep 28, 2017
@lvhuat lvhuat reopened this Sep 28, 2017
@mholt
Copy link
Member

mholt commented Sep 28, 2017

Thanks for the feature request, but I think this is covered in #1639. (We'll finish it eventually.)

@mholt mholt closed this as completed Sep 28, 2017
@mholt mholt added the duplicate 🖇️ This issue or pull request already exists label Sep 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate 🖇️ This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants