From 293ece3ddeaa30c7dc453f4dbef911aeee6bbf3e Mon Sep 17 00:00:00 2001 From: Matthew Lopez <73856503+MatthewL246@users.noreply.github.com> Date: Thu, 4 Jan 2024 08:09:29 -0500 Subject: [PATCH] Enable local server redirection by default --- mitmproxy-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mitmproxy-config.yaml b/mitmproxy-config.yaml index b9a4877..c9fec0c 100644 --- a/mitmproxy-config.yaml +++ b/mitmproxy-config.yaml @@ -11,6 +11,11 @@ confdir: ./.mitmproxy scripts: ["../pretendo_addon.py"] pretendo_redirect: true +# Set up redirection to a local server +pretendo_host: nginx +pretendo_host_port: 80 +pretendo_http: true + # Allow self-signed certificates ssl_insecure: true