support upgrade-insecure-requests option
This commit is contained in:
parent
954a1993a9
commit
1a80e405b5
8 changed files with 112 additions and 29 deletions
|
|
@ -1,6 +1,6 @@
|
|||
listen_port = 8080
|
||||
# listen_port_tls = 8443
|
||||
listen_ipv6 = false
|
||||
# listen_ipv6 = true
|
||||
|
||||
max_concurrent_streams = 128
|
||||
max_clients = 512
|
||||
|
|
@ -14,11 +14,7 @@ server_name = 'localhost'
|
|||
reverse_proxy = [
|
||||
# default destination if path is not specified
|
||||
# Array for load balancing
|
||||
{ upstream = [
|
||||
{ location = 'backend-nginx', tls = false, upstream_options = [
|
||||
# "override_host",
|
||||
] },
|
||||
] },
|
||||
{ upstream = [{ location = 'backend-nginx', tls = false }] },
|
||||
# { upstream = [{ location = '192.168.100.100', tls = false }] },
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue