# Mitm in Production

**URL:** <https://discourse.mitmproxy.org/t/mitm-in-production/364>\
**Category:** help\
**Created:** [February 18, 2017, 4:30am UTC](https://discourse.mitmproxy.org/t/mitm-in-production/364 "2017-02-18T04:30:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyberpersons](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/cyberpersons/32/117_2.png) [@cyberpersons](https://discourse.mitmproxy.org/u/cyberpersons)\
**Post date:** [February 18, 2017, 4:30am UTC](https://discourse.mitmproxy.org/t/mitm-in-production/364/1 "2017-02-18T04:30:29Z")

</div>

Hi,

Is there any one who used mitmproxy reverse mode in production environment?

If so, how it went ?

Regards

---

<div class="post-metadata">

**Author:** ![mhils](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/mhils/32/7_2.png) [@mhils](https://discourse.mitmproxy.org/u/mhils)\
**Post date:** [February 18, 2017, 5:24pm UTC](https://discourse.mitmproxy.org/t/mitm-in-production/364/2 "2017-02-18T17:24:56Z")

</div>

Hi @cyberpersons!

What’s your definition of production environment and why do you want to do that?  
Mitmproxy is not really a replacement for nginx/Apache if that is your question.

---

<div class="post-metadata">

**Author:** ![cyberpersons](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/cyberpersons/32/117_2.png) [@cyberpersons](https://discourse.mitmproxy.org/u/cyberpersons)\
**Post date:** [February 18, 2017, 5:39pm UTC](https://discourse.mitmproxy.org/t/mitm-in-production/364/3 "2017-02-18T17:39:19Z")

</div>

Need to use mitm proxy to catch the traffic in reverse proxy mode.

Because I am writing a custom module, and it need mitm to work in actual production enviroment in reverse proxy mode only.

If not. What areas of mitm need work done to make this possible?

---

<div class="post-metadata">

**Author:** ![mhils](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/mhils/32/7_2.png) [@mhils](https://discourse.mitmproxy.org/u/mhils)\
**Post date:** [February 18, 2017, 5:43pm UTC](https://discourse.mitmproxy.org/t/mitm-in-production/364/4 "2017-02-18T17:43:19Z")

</div>

What does “production environment” mean to you?  
We are not aware of any known security vulnerabilities or other issues, but generally speaking it’s not architected for that so we won’t recommend it. You’re better off moving your logic into your systems.

At the very least, it’ll be a potential performance bottleneck.

---

<div class="post-metadata">

**Author:** ![cyberpersons](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/cyberpersons/32/117_2.png) [@cyberpersons](https://discourse.mitmproxy.org/u/cyberpersons)\
**Post date:** [February 18, 2017, 5:59pm UTC](https://discourse.mitmproxy.org/t/mitm-in-production/364/5 "2017-02-18T17:59:27Z")

</div>

Thank you.

Any recomendation of good reverse proxy with good api and documentation?

---

<div class="post-metadata">

**Author:** ![mhils](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/mhils/32/7_2.png) [@mhils](https://discourse.mitmproxy.org/u/mhils)\
**Post date:** [February 18, 2017, 6:10pm UTC](https://discourse.mitmproxy.org/t/mitm-in-production/364/6 "2017-02-18T18:10:44Z")

</div>

Apache, NGINX, maybe Caddy. 🙂

---

<div class="post-metadata">

**Author:** ![cyberpersons](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mitmproxy.org/cyberpersons/32/117_2.png) [@cyberpersons](https://discourse.mitmproxy.org/u/cyberpersons)\
**Post date:** [February 18, 2017, 6:32pm UTC](https://discourse.mitmproxy.org/t/mitm-in-production/364/7 "2017-02-18T18:32:52Z")

</div>

You have experience with any of these?
