We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6268a83 + b5bd2e6 commit 93a0fafCopy full SHA for 93a0faf
nodebalancer/cmd/nodebalancer/server.go
@@ -214,6 +214,15 @@ func Server() {
214
// Change r.Host from nodebalancer's to end host so TLS check will be passed
215
r.Host = r.URL.Host
216
}
217
+
218
+ proxyToEndpoint.ModifyResponse = func(w *http.Response) error {
219
+ // Remove proxy headers
220
+ for k := range w.Header {
221
+ w.Header.Del(k)
222
+ }
223
+ return nil
224
225
226
proxyErrorHandler(proxyToEndpoint, endpoint)
227
228
blockchainPool.AddNode(&Node{
nodebalancer/cmd/nodebalancer/version.go
@@ -1,3 +1,3 @@
1
package main
2
3
-var NB_VERSION = "0.2.5"
+var NB_VERSION = "0.2.6"
0 commit comments