Streaming flv files

Thomas iamkenzo at gmail.com
Sat Jun 21 00:16:48 MSD 2008


Actually now I have an entry that appeared in flv_access.log:
---
127.0.0.1 - - [20/Jun/2008:19:26:38 +0200] "GET /streamable.flv
HTTP/1.1" 200 4137190 "-" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X
10.4; en-US; rv:1.9) Gecko/2008061004 Firefox/3.0"
---
But it's strange because I only have one entry although I keep hitting
the reload key in my browser and I empty the cache.

Here is my configuration file:
-------------------------------------------------------
worker_processes  1;

events {
  worker_connections  1024;
}

http {
  include             mime.types;
  default_type        application/octet-stream;

  access_log          /var/log/nginx/access.log;
  error_log           /var/log/nginx/error.log debug;
server {
  listen        80;
  server_name   railsbuntu.ath.cx;

  set $limit_rate 30k;

  access_log    /Users/thomas/flv_stream/access.log;
  error_log     /Users/thomas/flv_stream/error.log notice;

  location / {
    root      /Users/thomas/flv_stream;
    index     index.html;

  } # End of location

  location ~ \.flv$ {
    access_log    /Users/thomas/flv_stream/flv_access.log;
    error_log     /Users/thomas/flv_stream/flv_error.log notice;
    root  /Users/thomas/flv_stream;
    flv;
  } # End of location

} # End of server





More information about the nginx mailing list