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

Add wildcard hostname support #769

Merged
merged 3 commits into from
Jun 23, 2023

Conversation

sjberman
Copy link
Contributor

Problem: Until now, users were only able to use hostnames without wildcards, limiting their options.

Solution: We now support wildcard hostnames for HTTPRoutes and Gateway listeners.

Testing: Added unit tests and verified nginx config manually

Closes #478

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

@sjberman sjberman requested a review from a team as a code owner June 20, 2023 22:22
@github-actions github-actions bot added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 20, 2023
internal/state/graph/httproute.go Outdated Show resolved Hide resolved
internal/state/graph/httproute.go Outdated Show resolved Hide resolved
internal/state/graph/httproute_test.go Show resolved Hide resolved
internal/state/graph/validation_test.go Show resolved Hide resolved
Until now, users were only able to use hostnames without wildcards, limiting their options.

We now support wildcard hostnames for HTTPRoutes and Gateway listeners.
internal/state/graph/httproute.go Outdated Show resolved Hide resolved
internal/state/graph/httproute.go Show resolved Hide resolved
internal/state/graph/httproute.go Outdated Show resolved Hide resolved
internal/state/graph/httproute.go Outdated Show resolved Hide resolved
@sjberman sjberman merged commit b22d2b7 into nginxinc:main Jun 23, 2023
15 checks passed
@sjberman sjberman deleted the feature/wildcard-hostnames branch June 23, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Route and Listener wildcard hostnames
3 participants