README with some instructions

This commit is contained in:
Midgard 2020-03-24 22:51:49 +01:00
parent 15815acf0f
commit f275a03b93
Signed by: midgard
GPG Key ID: 511C112F1331BBB4
1 changed files with 9 additions and 0 deletions

9
README.md Normal file
View File

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