Welcome! Log In Create A New Profile

Advanced

Re: стриминг видео на nginx сервере

February 24, 2012 12:30PM
user www-data;
worker_processes 1;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

#pid logs/nginx.pid;


events {
worker_connections 1024;
}


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 on;
#tcp_nopush on;
client_max_body_size 100m;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;

server {
listen 80;
server_name privat-zapisi.net www.privat-zapisi.net;

#charset koi8-r;

#access_log logs/host.access.log main;

location / {
root /home/zeromind/www;
index index.html index.htm index.php;
access_log off;
proxy_pass http://127.0.0.1:8080/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

location ~* ^.+\.(html|htm|flv|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js|docx|odt|7z|avi|mpeg|mpg|mp4|mp3|ogg|mov)$ {
root /home/zeromind/www;
}

location ~ \.mp4$ {
mp4;
mp4_buffer_size 1m;
mp4_max_buffer_size 10m;
}

location ~ \.flv$ {
flv;
}

вот основа из моего конфига, дальше почти всё закомментировано..
Subject Author Posted

стриминг видео на nginx сервере

zeromind February 07, 2012 03:34PM

Re: стриминг видео на nginx сервере

zeromind February 10, 2012 03:26PM

Re: стриминг видео на nginx сервере

crowwley February 11, 2012 10:58AM

Re: стриминг видео на nginx сервере

crowwley February 11, 2012 02:27PM

Re: стриминг видео на nginx сервере

zeromind February 11, 2012 06:29PM

Re: стриминг видео на nginx сервере

crowwley February 12, 2012 08:07AM

Re: стриминг видео на nginx сервере

zeromind February 12, 2012 08:42AM

Re: стриминг видео на nginx сервере

crowwley February 12, 2012 02:15PM

Re: стриминг видео на nginx сервере

zeromind February 12, 2012 02:33PM

Re: стриминг видео на nginx сервере

zeromind February 23, 2012 02:08PM

Re: стриминг видео на nginx сервере

Андрей Василишин February 23, 2012 02:50PM

Re: стриминг видео на nginx сервере

zeromind February 23, 2012 03:30PM

Re: стриминг видео на nginx сервере

Андрей Василишин February 23, 2012 03:36PM

Re: стриминг видео на nginx сервере

zeromind February 23, 2012 04:28PM

Re: стриминг видео на nginx сервере

Андрей Василишин February 23, 2012 04:42PM

Re: стриминг видео на nginx сервере

zeromind February 24, 2012 10:56AM

Re: стриминг видео на nginx сервере

Андрей Василишин February 24, 2012 11:08AM

Re: стриминг видео на nginx сервере

zeromind February 24, 2012 11:11AM

Re: стриминг видео на nginx сервере

zeromind February 24, 2012 12:11PM

Re: стриминг видео на nginx сервере

Андрей Василишин February 24, 2012 11:16AM

Re: стриминг видео на nginx сервере

Андрей Василишин February 24, 2012 12:26PM

Re: стриминг видео на nginx сервере

zeromind February 24, 2012 12:29PM

Re: стриминг видео на nginx сервере

zeromind February 24, 2012 12:30PM

Re: стриминг видео на nginx сервере

Андрей Василишин February 24, 2012 12:34PM

Re: стриминг видео на nginx сервере

Андрей Василишин February 24, 2012 12:34PM

Re: стриминг видео на nginx сервере

zeromind February 24, 2012 12:41PM

Re: стриминг видео на nginx сервере

zeromind February 24, 2012 12:51PM

Re: стриминг видео на nginx сервере

kemko February 24, 2012 12:48PM

Re: стриминг видео на nginx сервере

Андрей Василишин February 24, 2012 12:50PM

Re: стриминг видео на nginx сервере

zeromind February 24, 2012 12:52PM

Re: стриминг видео на nginx сервере

Nikita Stupin February 24, 2012 01:42PM

Re: стриминг видео на nginx сервере

zeromind February 24, 2012 02:47PM

Re: стриминг видео на nginx сервере

Алексей Сундуков February 24, 2012 12:32PM

Re: стриминг видео на nginx сервере

arty777 March 03, 2012 08:19AM

Re: стриминг видео на nginx сервере

arty777 March 03, 2012 08:21AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 67
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready