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

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