support upgrade-insecure-requests option

This commit is contained in:
Jun Kurihara 2022-07-10 04:28:50 +09:00
commit 1a80e405b5
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
8 changed files with 112 additions and 29 deletions

View file

@ -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 }] },
]