Skip to content

Conversation

@mmatczuk
Copy link
Contributor

DO NOT MERGE this is for educational purposes only.

With this configuration Envoy runs as a reverse proxy that converts requests from HTTP/1.1 to HTTP/2.

You can test that by running:

$ make up CONF="envoy/service.yaml override/httpbin-h2.yaml override/proxy-log.yaml"
$ curl -x localhost:13128 http://foobar/status/666 -v
*   Trying 127.0.0.1:13128...
* Connected to 127.0.0.1 (127.0.0.1) port 13128 (#0)
> GET http://foobar/status/666 HTTP/1.1
> Host: foobar
> User-Agent: curl/7.85.0
> Accept: */*
> Proxy-Connection: Keep-Alive
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 666 Unknown
< content-length: 0
< date: Mon, 16 Jan 2023 14:04:34 GMT
< x-envoy-upstream-service-time: 1
< server: envoy
<
* Connection #0 to host 127.0.0.1 left intact
@mmatczuk mmatczuk marked this pull request as draft January 16, 2023 14:35
@mmatczuk mmatczuk force-pushed the main branch 3 times, most recently from 894202c to d879cf1 Compare March 7, 2023 14:01
@mmatczuk mmatczuk force-pushed the main branch 2 times, most recently from eb54ede to 847a1d6 Compare March 27, 2023 19:23
@mmatczuk mmatczuk force-pushed the main branch 4 times, most recently from 003430c to 3a3f9ac Compare November 27, 2023 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants