Update config-local.yaml to use connection_strategy: lazy (#9)
Some checks failed
Build and Publish Docker Image / build-publish (3ds) (push) Has been cancelled
Build and Publish Docker Image / build-publish (local) (push) Has been cancelled
Build and Publish Docker Image / build-publish (wiiu) (push) Has been cancelled

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:
silver_volt4 2025-04-04 22:44:14 +02:00 committed by GitHub
parent c03c3a0ff7
commit c074b6bd66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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