From f275a03b93e813d2f20c7bdbda46a0c9be5f79ba Mon Sep 17 00:00:00 2001 From: Midgard Date: Tue, 24 Mar 2020 22:51:49 +0100 Subject: [PATCH] README with some instructions --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..3f078ca --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +Start a mitmproxy with: +``` +mitmproxy -m "reverse:https://YOUR_MATTERMOST_DOMAIN" -H '/~a | ! ~a/Access-Control-Expose-Headers/*, Authorization, Content-Length, Token' -H '/~a | ! ~a/Access-Control-Allow-Origin/http://localhost:8000' +``` + +Run locally: +``` +cd /path/to/repo; python -m "http.serve" +```