forked from erlyaws/yaws
-
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.
add reverse proxy intercept module capability
Users can now specify an interception module that can rewrite requests and responses as they pass through the Yaws reverse proxy. See the documentation for details (yaws.conf.5 man page or the yaws.pdf file). Also add new set_header, get_header, and delete_header functions to the yaws_api module to allow intercept modules and arg rewriters to more easily examine and modify #headers{} records. Add new tests for the new header manipulation functions and for the reverse proxy interception feature.
- Loading branch information
Showing
16 changed files
with
679 additions
and
124 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -340,7 +340,12 @@ | |
}). | ||
|
||
|
||
|
||
%% forward and reverse proxy config info | ||
-record(proxy_cfg, { | ||
prefix, | ||
url, | ||
intercept_mod | ||
}). | ||
|
||
|
||
|
||
|
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
Oops, something went wrong.