Differences
This shows you the differences between two versions of the page.
man-in-the-middle_http_s_proxy_mitmproxy [14.10.2021 17:53] – created Pascal Suter | man-in-the-middle_http_s_proxy_mitmproxy [06.01.2022 15:32] (current) – Pascal Suter | ||
---|---|---|---|
Line 15: | Line 15: | ||
] | ] | ||
</ | </ | ||
+ | |||
+ | ===== Docker ===== | ||
+ | there is also a docker container available. here is a snippet out of a docker-compose config if you want to add mitm to your project to analyze traffic from your apps: | ||
+ | <code yaml> | ||
+ | proxy: | ||
+ | image: mitmproxy/ | ||
+ | restart: always | ||
+ | networks: | ||
+ | - intranet | ||
+ | ports: | ||
+ | - 8888:8081 | ||
+ | command: mitmweb --web-host 0.0.0.0 --ssl-insecure | ||
+ | </ | ||
+ | (note the '' | ||
+ | |||
+ | I have also added the following environment variables to the other containers, but i haven' | ||
+ | <code yaml> | ||
+ | environment: | ||
+ | HTTP_PROXY: " | ||
+ | HTTPS_PROXY: | ||
+ | NO_PROXY: " | ||
+ | </ | ||
+ | |||
+ |