add request header override option
This commit is contained in:
parent
e16ad423d5
commit
b0a9b6b5f8
10 changed files with 104 additions and 18 deletions
|
|
@ -14,7 +14,11 @@ server_name = 'localhost'
|
|||
reverse_proxy = [
|
||||
# default destination if path is not specified
|
||||
# Array for load balancing
|
||||
{ upstream = [{ location = 'backend-nginx', tls = false }] },
|
||||
{ upstream = [
|
||||
{ location = 'backend-nginx', tls = false, upstream_options = [
|
||||
"override_host",
|
||||
] },
|
||||
] },
|
||||
# { upstream = [{ location = '192.168.100.100', tls = false }] },
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue