add request header override option
This commit is contained in:
parent
e16ad423d5
commit
b0a9b6b5f8
10 changed files with 104 additions and 18 deletions
|
|
@ -37,10 +37,14 @@ reverse_proxy = [
|
|||
{ upstream = [
|
||||
{ location = 'www.google.com', tls = true },
|
||||
{ location = 'www.google.co.jp', tls = true },
|
||||
], upstream_options = [
|
||||
"override_host",
|
||||
] },
|
||||
{ path = '/maps', upstream = [
|
||||
{ location = 'www.bing.com', tls = true },
|
||||
{ location = 'www.bing.co.jp', tls = true },
|
||||
], upstream_options = [
|
||||
"override_host",
|
||||
] },
|
||||
]
|
||||
# Optional: TLS setting. if https_port is specified and tls is true above, this must be given.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue