Skip to content
This repository has been archived by the owner on Jan 7, 2018. It is now read-only.

Add ability to have wildcard backend hostnames #15

Merged
merged 1 commit into from
Jun 8, 2015
Merged

Conversation

GUI
Copy link
Member

@GUI GUI commented Jun 8, 2015

This extends the wildcard hostname support added in #13 Now the backend host can be rewritten to also contain the matched piece of the wildcard in the frontend host (previously the backend host was either static or an empty string, in which case the frontend host was passed through verbatim).

The backend host just uses the same wildcard * syntax for the replacement value. Now with a frontend host like *.example.com and a backend host of *.api-backend.foo, a request to penguin.example.com would be rewritten into penguin.api-backend.foo.

This extends the wildcard hostname support added in
#13 Now the backend
host can be rewritten to also contain the matched piece of the
wildcard in the frontend host (previously the backend host was either
static or an empty string, in which case the frontend host was passed
through verbatim).

The backend host just uses the same wildcard `*` syntax for the
replacement value. Now with a frontend host like `*.example.com` and a
backend host of `*.api-backend.foo`, a request to `penguin.example.com`
would be rewritten into `penguin.api-backend.foo`.
GUI added a commit that referenced this pull request Jun 8, 2015
Add ability to have wildcard backend hostnames
@GUI GUI merged commit e8e5cfb into master Jun 8, 2015
@GUI GUI deleted the wildcard-backends branch June 8, 2015 19:04
GUI added a commit to NREL/api-umbrella-web that referenced this pull request Jun 8, 2015
GUI added a commit that referenced this pull request Jul 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant