add version setting of request forwarded

This commit is contained in:
Jun Kurihara 2022-08-02 22:22:32 +09:00
commit c5c7847b92
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
6 changed files with 43 additions and 9 deletions

View file

@ -51,7 +51,7 @@ upstream = [
{ location = 'www.yahoo.com', tls = true },
{ location = 'www.yahoo.co.jp', tls = true },
]
upstream_options = ["override_host"]
upstream_options = ["override_host", "convert_to_http2"]
# Non-default destination in "localhost" app, which is routed by "path"
[[apps.localhost.reverse_proxy]]
@ -66,7 +66,11 @@ upstream = [
{ location = 'www.bing.com', tls = true },
{ location = 'www.bing.co.jp', tls = true },
]
upstream_options = ["override_host", "upgrade_insecure_requests"]
upstream_options = [
"override_host",
"upgrade_insecure_requests",
"convert_to_http11",
]
######################################################################
######################################################################