#user nginx;
worker_processes 100;
events {
worker_connections 1024;
multi_accept on;
}
http {
include mime.types;
default_type application/octet-stream;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
sendfile off;
tcp_nopush off;
tcp_nodelay off;
keepalive_timeout 0;
server {
listen 80;
root /video;
location / {
root /video;
index index.html index.htm;
output_buffers 1 1m;
}
location ~ \.flv$ {
flv;
}