# Option for geoIP blocking in Stream server section on nginx 1.9.x Version!

**URL:** <https://www.ruby-forum.com/t/option-for-geoip-blocking-in-stream-server-section-on-nginx-1-9-x-version/244017>\
**Category:** NGINX\
**Created:** [February 5, 2016, 12:37pm UTC](https://www.ruby-forum.com/t/option-for-geoip-blocking-in-stream-server-section-on-nginx-1-9-x-version/244017 "2016-02-05T12:37:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [February 5, 2016, 12:37pm UTC](https://www.ruby-forum.com/t/option-for-geoip-blocking-in-stream-server-section-on-nginx-1-9-x-version/244017/1 "2016-02-05T12:37:17Z")

</div>

Hi,

I’m so happy that Stream feature is enabled from Nginx-1.9.x. Also I  
started  
to use this feature in my Testing environment which is running smoothly.

But One thing I got struggled , is to block IP based on GeoIP country as  
like Server block. Does GeoIP blocking feature available in Stream block  
?.  
if it so, kindly please share some example syntax to me.

Thanks

Posted at Nginx Forum:

> **[Option for geoIP blocking in Stream server section on nginx 1.9.x Version !](https://forum.nginx.org/read.php?2,264371,264371#msg-264371)**
>
> Hi, I'm so happy that Stream feature is enabled from Nginx-1.9.x. Also I started to use this feature in my Testing environment which is running smoothly. But One thing I got struggled , is to block IP based on GeoIP country as like Server block. Does...

---

<div class="post-metadata">

**Author:** ![kmg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/5f8ce5/32.png) [@kmg](https://www.ruby-forum.com/u/kmg)\
**Post date:** [February 5, 2016, 2:34pm UTC](https://www.ruby-forum.com/t/option-for-geoip-blocking-in-stream-server-section-on-nginx-1-9-x-version/244017/2 "2016-02-05T14:34:37Z")

</div>

Hello!

On Fri, Feb 05, 2016 at 06:36:30AM -0500, kmg wrote:

> Hi,
> 
> I’m so happy that Stream feature is enabled from Nginx-1.9.x. Also I started  
> to use this feature in my Testing environment which is running smoothly.
> 
> But One thing I got struggled , is to block IP based on GeoIP country as  
> like Server block. Does GeoIP blocking feature available in Stream block ?.  
> if it so, kindly please share some example syntax to me.

No, it’s not something current supported in stream proxy.

–  
Maxim D.

> **[nginx](http://nginx.org/)**
