This PR modifies the Envoy HTTP filter plugin to perform a basic set-header operation. For example, the following config will modify the x-forwarded-proto header to have the value https.
// Build and run envoy
bazel build //http-filter-example:envoy
./bazel-bin/http-filter-example/envoy -c ./http-filter-example/envoy-sample-config.yaml
// Set up Docker backend to echo http headers and send a curl request to envoy
// Docker image found here: https://hub.docker.com/r/ealen/echo-server
curl localhost:8081
Description
This PR modifies the Envoy HTTP filter plugin to perform a basic set-header operation. For example, the following config will modify the
x-forwarded-proto
header to have the valuehttps
.Testing
We can see the specified header is set to https: