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

request_host should allow regex names similar to nginx's method #446

Closed
ahmadnassri opened this issue Aug 3, 2015 · 4 comments
Closed
Labels
task/feature Requests for new features in Kong

Comments

@ahmadnassri
Copy link
Contributor

when attempting to create an API profile with a wildcard subdomain and a wildcard TLD, I get the following error message:

"request_host": "Only one wildcard is allowed: *.mockbin.*"
expected

should allow for using regex naming for request_host

@sonicaghi sonicaghi added the proxy label Aug 3, 2015
@thibaultcha
Copy link
Member

That is just how nginx implemented their wildcard support

@ahmadnassri
Copy link
Contributor Author

right, so is there another issue to track regex names?

@ahmadnassri ahmadnassri changed the title public_dns limited to only one wildcard public_dns should allow regex names similar to nginx's method Aug 3, 2015
@thibaultcha
Copy link
Member

Yeah the one you commented on I think is the right spot.

What you want is regex I think, not 2 wildcards

@thibaultcha thibaultcha removed their assignment Aug 21, 2015
@thibaultcha thibaultcha added the task/feature Requests for new features in Kong label Oct 15, 2015
@thibaultcha thibaultcha changed the title public_dns should allow regex names similar to nginx's method request_dns should allow regex names similar to nginx's method Nov 10, 2015
@thibaultcha thibaultcha added this to the Mar 2016 milestone Dec 21, 2015
@ahmadnassri ahmadnassri changed the title request_dns should allow regex names similar to nginx's method request_host should allow regex names similar to nginx's method Jan 21, 2016
@subnetmarco
Copy link
Member

Closing in favor of #369.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task/feature Requests for new features in Kong
Projects
None yet
Development

No branches or pull requests

4 participants