# Nginx-1.3.2

**URL:** <https://www.ruby-forum.com/t/nginx-1-3-2/220961>\
**Category:** NGINX\
**Created:** [June 26, 2012, 4:00pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961 "2012-06-26T16:00:54Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [June 26, 2012, 4:00pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/1 "2012-06-26T16:00:54Z")

</div>

Changes with nginx 1.3.2 26 Jun  
2012

```
*) Change: the "single" parameter of the "keepalive" directive is 

```

now  
ignored.

```
*) Change: SSL compression is now disabled when using all versions 

```

of  
OpenSSL, including ones prior to 1.0.0.

```
*) Feature: it is now possible to use the "ip_hash" directive to 

```

balance  
IPv6 clients.

```
*) Feature: the $status variable can now be used not only in the
   "log_format" directive.

*) Bugfix: a segmentation fault might occur in a worker process on
   shutdown if the "resolver" directive was used.

*) Bugfix: a segmentation fault might occur in a worker process if 

```

the  
ngx\_http\_mp4\_module was used.

```
*) Bugfix: in the ngx_http_mp4_module.

*) Bugfix: a segmentation fault might occur in a worker process if
   conflicting wildcard server names were used.

*) Bugfix: nginx might be terminated abnormally on a SIGBUS signal 

```

on  
ARM platform.

```
*) Bugfix: an alert "sendmsg() failed (9: Bad file number)" on HP-UX
   while reconfiguration.

```

Maxim D.

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 27, 2012, 8:33am UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/2 "2012-06-27T08:33:18Z")

</div>

CYBERDROID Inc.  
Hello

Does it works well with php-fpm ? I plan to use it on a  
dovecot2/roudcube production server  
with approx 2000 simultaneous users FreeBSD 7.4 64 bit / HP proliant  
380

Thanks a lot

Le 26/06/2012 16:00, Maxim D. a crit :

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 27, 2012, 8:40am UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/3 "2012-06-27T08:40:54Z")

</div>

CYBERDROID Inc.\> Does it works well with php-fpm ? I plan to use it on a  
dovecot2/roudcube production server with approx 2000  
simultaneous users FreeBSD 7.4 64 bit / HP proliant 380

It works well also with 20k and 200k simultaneous users, but it’s rarely  
the webserver itself being the bottleneck (or resource hog)  
more likely php in this case.

rr

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 27, 2012, 9:07am UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/4 "2012-06-27T09:07:12Z")

</div>

CYBERDROID Inc.

Le 27/06/2012 08:40, Reinis R. a écrit :

> CYBERDROID Inc.\> Does it works well with php-fpm ? I plan to use it on  
> a dovecot2/roudcube production server with approx 2000 simultaneous  
> users FreeBSD 7.4 64 bit / HP proliant 380
> 
> It works well also with 20k and 200k simultaneous users, but it’s  
> rarely the webserver itself being the bottleneck (or resource hog)  
> more likely php in this case.

Yes of course but I’ve read few weeks ago there were troubles between a  
version  
of nginx and php-fpm. That is the reason of my question on this version.

Kind regards

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 27, 2012, 12:12pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/5 "2012-06-27T12:12:29Z")

</div>

> Yes of course but I’ve read few weeks ago there were troubles between a  
> version  
> of nginx and php-fpm. That is the reason of my question on this version.

You’re probably referring to the “nginx 1.3.1 not PHP-FPM friendly”  
thread. You can ignore that, the problem wasn’t nginx.

However you should probably consider using the stable version1.2.1  
instead of the development builds in 1.3.x.

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 27, 2012, 1:57pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/6 "2012-06-27T13:57:55Z")

</div>

& i am having problem on using nginx-1.2.1 its flv module is broken :-(,  
flv psuedo streaming is not working .

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 27, 2012, 4:28pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/7 "2012-06-27T16:28:45Z")

</div>

Hello!

On Wed, Jun 27, 2012 at 04:57:32PM +0500, shahzaib shahzaib wrote:

> & i am having problem on using nginx-1.2.1 its flv module is broken :-(,  
> flv psuedo streaming is not working .

It’s not broken, for sure. You’ve just doing it wrong.  
Unfortunately you’ve failed to provide enough information to say  
what exactly you are doing wrong.

Maxim D.

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 27, 2012, 5:45pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/8 "2012-06-27T17:45:56Z")

</div>

well, i’ve compiled my nginx 1.2.1 from this source  
[http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Nginx-Version2](http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Nginx-Version2) ,  
add  
aditional module --with-http\_flv\_module for pseudo stream and added flv  
directive in nginx.conf file. But when i try to play video by  
test.flv?start=343434 , player stucked & not play. Mp4 is working fine  
but  
not flv.

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 27, 2012, 6:57pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/9 "2012-06-27T18:57:14Z")

</div>

Hello!

On Wed, Jun 27, 2012 at 08:45:13PM +0500, shahzaib shahzaib wrote:

> well, i’ve compiled my nginx 1.2.1 from this source  
> [GitHub - code-shop-com/h264 · GitHub](http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Nginx-Version2) , add  
> aditional module --with-http\_flv\_module for pseudo stream and added flv  
> directive in nginx.conf file. But when i try to play video by  
> test.flv?start=343434 , player stucked & not play. Mp4 is working fine but  
> not flv.

You can’t seek to arbitrary byte position, you have to use  
byte position of a keyframe as available from flv metadata.

Maxim D.

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 27, 2012, 8:33pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/10 "2012-06-27T20:33:05Z")

</div>

can you explain a bit more please? how i am going to seek it? is it  
prefer  
some specific bytes ?

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 27, 2012, 8:47pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/11 "2012-06-27T20:47:42Z")

</div>

how can i use this meta data ?

On Wed, Jun 27, 2012 at 11:32 PM, shahzaib shahzaib

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 28, 2012, 12:25am UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/12 "2012-06-28T00:25:46Z")

</div>

> can you explain a bit more please? how i am going to seek it? is it prefer some  
> specific bytes ?

See this:

> **[Module ngx\_http\_flv\_module](http://nginx.org/en/docs/http/ngx_http_flv_module.html)**

> **[Module ngx\_http\_mp4\_module](http://nginx.org/en/docs/http/ngx_http_mp4_module.html)**

You will need a Flash/HTML5 Player to do this, for example JWPlayer [1].  
But please be advised that this list is not about Video Playback.

[1] [Video technology & monetization platform for streamers, publishers & advertisers | JWX](http://www.longtailvideo.com/players/)

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 28, 2012, 8:24am UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/13 "2012-06-28T08:24:25Z")

</div>

i’ve installed jwplayer from this source  
[http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12/install-the-jw-player-for-flash-v5,still](http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12/install-the-jw-player-for-flash-v5,still)  
when i try to seek video or try to download it by  
test.flv?start=343434 ,video size reduces but video broken

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 28, 2012, 8:51am UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/14 "2012-06-28T08:51:17Z")

</div>

@Lukas, i know those flv-module links & i’ve had alread added flv & mp4  
directive in nginx.conf & mp4 pseudo is working perfect.

On Thu, Jun 28, 2012 at 11:24 AM, shahzaib shahzaib

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 27, 2012, 8:48pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/15 "2012-06-27T20:48:17Z")

</div>

i am actually new to this field ,thats why making u people lot of  
trouble ,  
sorry for that

On Wed, Jun 27, 2012 at 11:47 PM, shahzaib shahzaib

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 28, 2012, 2:08pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/16 "2012-06-28T14:08:06Z")

</div>

Hello!

On Thu, Jun 28, 2012 at 11:24:00AM +0500, shahzaib shahzaib wrote:

> i’ve installed jwplayer from this source

> **[Support Portal](https://support.jwplayer.com/hc/en-us)**

> when i try to seek video or try to download it by  
> test.flv?start=343434 ,video size reduces but video broken

The fact that video size is recuded means that flv module in nginx works  
fine.

As I already said using arbitrary byte positions in the “start”  
argument isn’t possible with flv, you have to use positions of a  
keyframe/seekpoint there. With arbitrary byte position broken  
video is expected result.

If seeking doesn’t work from a flash player, most likely reason is  
problems with flv file itself. In particular, please refer the  
the note here:

> **[Support Portal](https://support.jwplayer.com/hc/en-us)**

: Note: Some FLV encoders do not include seekpoints metadata when  
: encoding videos. Without this data, HTTP Pseudostreaming will not  
: work. If you suspect your videos to not have metadata, use our  
: Metaviewer plugin to inspect the video. There should be a  
: seekpoints or keyframes list. If it is not there, use the FLVMDI  
: tool to parse your FLV videos and inject this metadata.

(The page itself contains appropriate links, quoted here just  
clarify which note I’m referring to.)

Maxim D.

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 28, 2012, 3:07pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/17 "2012-06-28T15:07:07Z")

</div>

Hello Nginx U.s,

Now available: Nginx 1.3.2 For Windows [Nginx 1.3.2 for Windows – Kevin Worthington](http://goo.gl/2aSez) (32-bit and  
64-bit versions)

These versions are to support legacy users who are already using  
Cygwin based builds of Nginx. Officially supported native Windows  
binaries are at [nginx.org](http://nginx.org).

Announcements are also available via my Twitter stream, listed below  
if you’d like updates that way.

## Thank you, Kevin

Kevin W.  
kworthington _@_ (gmail] [dot} {com)

> **[Kevin Worthington](https://kevinworthington.com/)**
>
> Practical Tech Guides, Troubleshooting, and Insights on the Modern Internet

[http://twitter.com/kworthington](http://twitter.com/kworthington)

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 30, 2012, 8:17am UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/18 "2012-06-30T08:17:32Z")

</div>

Thats my starter of nginx.conf  
Server {

location ~ .flv$ {  
flv;  
}

location /videos {  
root /usr/local/nginx/html;  
index index.php index.html;  
autoindex on;  
}  
}

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [July 2, 2012, 9:19am UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/19 "2012-07-02T09:19:24Z")

</div>

@Maxim & @Lukas, i’ve noticed that the flv audio psuedo is working by  
using given keyframes that is generated by flvmdi but video breaks  
during  
usage of keyframes .

On Sat, Jun 30, 2012 at 11:17 AM, shahzaib shahzaib

---

<div class="post-metadata">

**Author:** ![Maxim\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/da6949/32.png) [@Maxim\_D](https://www.ruby-forum.com/u/Maxim_D)\
**Post date:** [June 29, 2012, 2:18pm UTC](https://www.ruby-forum.com/t/nginx-1-3-2/220961/20 "2012-06-29T14:18:17Z")

</div>

@Maxim i’ve converted my flv video using flvmdi tool with this command  
flvmdi test.flv sample.flv /k /x & it created flv file keyframes and  
save  
into xml file, but still when i try to play the video from given  
keyframe,  
does’nt show anything. Waiting for your help. Thanks

On Thu, Jun 28, 2012 at 6:06 PM, Kevin W.

[Next page](https://www.ruby-forum.com/t/nginx-1-3-2/220961.md?page=2)
