Stream flash video using nginx

One of the best solutions for streaming Flash video nowadays is Nginx. It’s super fast, lightweight and does easily support thousands of concurrent connections without taking up much resources.

By default flash streaming is not activated and you need to turn it on in compilation process. You enable flash streaming by:

./configure –with-http_flv_module …(add other options here)

and then add to nginx.conf the following settings:

location ~ .flv$ {

Nginx can easily push hundreds of megabits per second so make sure your upstream can support it and you have deep pockets for bandwidth expenses :)


  1. daslicht says:

    will the source file be secured from downloading ?

  2. http guy says:

    Dashlict: answering your question above… no, not with this method.

Leave a Reply