# Is possible to using same upstream in "mail", "http" and "stream" block?

**URL:** <https://www.ruby-forum.com/t/is-possible-to-using-same-upstream-in-mail-http-and-stream-block/242932>\
**Category:** NGINX\
**Created:** [August 8, 2015, 2:43pm UTC](https://www.ruby-forum.com/t/is-possible-to-using-same-upstream-in-mail-http-and-stream-block/242932 "2015-08-08T14:43:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafa\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/958977/32.png) [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Post date:** [August 8, 2015, 2:43pm UTC](https://www.ruby-forum.com/t/is-possible-to-using-same-upstream-in-mail-http-and-stream-block/242932/1 "2015-08-08T14:43:39Z")

</div>

is possible to using same upstream\* module in “mail”, “http” and  
“stream”  
block?

Posted at Nginx Forum:

> **[is possible to using same upstream in "mail", "http" and "stream" block?](https://forum.nginx.org/read.php?2,260881,260881#msg-260881)**
>
> is possible to using same upstream\* module in "mail", "http" and "stream" block?

---

<div class="post-metadata">

**Author:** ![lloydzhou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/71e660/32.png) [@lloydzhou](https://www.ruby-forum.com/u/lloydzhou)\
**Post date:** [August 8, 2015, 3:25pm UTC](https://www.ruby-forum.com/t/is-possible-to-using-same-upstream-in-mail-http-and-stream-block/242932/2 "2015-08-08T15:25:43Z")

</div>

i mean can using same upstream and upstream\_hash module, and so on.

“http” “mail” just different protocol, can using different  
protocol\_praser  
to handle the request…

Posted at Nginx Forum:

> **[Re: is possible to using same upstream in "mail", "http" and "stream" block?](https://forum.nginx.org/read.php?2,260881,260883#msg-260883)**
>
> is possible to using same upstream\* module in "mail", "http" and "stream" block?
