mirror of
https://github.com/MatthewL246/mitmproxy-pretendo.git
synced 2026-03-21 17:24:10 -05:00
Update config-local.yaml to use connection_strategy: lazy (#9)
This allows pretendo-docker clients to connect to URLs that do not exist as upstream servers. Previously, this would cause an error because mitmproxy would attempt to connect to the nonexistent upstream server before processing the redirection script that changes the request's destination to the local server.
This commit is contained in:
parent
c03c3a0ff7
commit
c074b6bd66
|
|
@ -22,3 +22,6 @@ ssl_insecure: true
|
|||
# Allow the console to use older TLS versions
|
||||
tls_version_client_min: UNBOUNDED
|
||||
tls_version_server_min: UNBOUNDED
|
||||
|
||||
# Allow connections to URLs that do not exist upstream (see https://github.com/MatthewL246/pretendo-docker/issues/243)
|
||||
connection_strategy: lazy
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user