-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added inline header mapping for cimplicity in deployment and config (#18
- Loading branch information
1 parent
fe7d049
commit 2f2238f
Showing
4 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,22 @@ policy: | |
allowed_groups: | ||
- All Users | ||
|
||
- from: http://test-header-mapping-inline.localtest.me | ||
to: http://localhost:8080 | ||
request_header_map_inline: | ||
[email protected]: | ||
Authorization: ThisIsATestHeaderFromTheHeaderMapping | ||
X-test-Header: another test | ||
test-header-group: | ||
TestHeaderFromGroup: TestHeaderFromGroup | ||
test-header-group-absent: | ||
TestAbsentHeaderFromGroup: TestAbsentHeaderFromGroup | ||
request_header_map_headers: | ||
- Authorization | ||
- TestHeaderFromGroup | ||
allowed_groups: | ||
- All Users | ||
|
||
- from: http://test-token-auth.localtest.me | ||
to: http://localhost:8080 | ||
token_auth_config_file: "/configs/token-auth-test.json" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters