Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Envoy h1 to h2 #183

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Envoy h1 to h2 #183

wants to merge 3 commits into from

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
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.

1 participant