-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Labels
enhancementNew feature or requestNew feature or request
Description
HTTP Proxy Module
I would like to suggest to add in few lines of code to preserve the host name and forward it to the application to support virtual host.
Currently the host is being set to blank.
BounceBack/internal/proxy/http/proxy.go
Line 152 in bc9dc7a
| r.Host = "" |
Below are the suggested improvement, pull request created #21.
origHost := r.Host
if origHost == "" {
origHost = r.Header.Get("Host")
}
r.Host = origHost
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request