events { worker_connections 1024; } 
http { 
  include mime.types; 
  include blockips.conf; 
  default_type application/octet-stream; 
  sendfile on; 
  keepalive_timeout 65; 
  server { 
      listen 20155;
      server_name localhost;
      location / { root html; index index.html index.htm; } 
      error_page 500 502 503 504 /50x.html; 
      location = /50x.html { root html; } }}
rtmp { 
  server {  
      listen 30155;
      chunk_size 4096;
      allow publish 127.0.0.1;
      allow publish 65.21.71.222;
      deny publish all;
      application live { 
          live on; 
          record off; 
          exec_options on; 
          push_reconnect 1s; 
          session_relay on;
          exec_pull 

ffmpeg -headers "User-Agent: spokSs93" 
-i http://00.130.69.237:8085/sha9iff/spoks/media_005
-vb 900k -minrate 900k -maxrate 900k -bufsize 990k -aspect "1280:720" -s "960x540" -c:v libx264 -profile:v "Main" -level "3.1" -preset veryfast -r 30 -g 30 -keyint_min 50 -x264opts "keyint=50:min-keyint=50:no-scenecut" -c:a aac -strict experimental -b:a 32000 -ar 32000 -ac 1 
-filter:v "drawtext=fontsize=42:fontcolor=red:fontfile=/usr/local/nginx/conf/c.ttf:text='l':x=w-tw:y=0"
-f flv rtmp://65.21.71.222:30155/live2/strBZHX70155;
          pull rtmp://65.21.71.222:30155/live/=strBZHXv70155 name=itsok70155 static; 
      } 
      application live2 { 
          live on; 
          record off;

#streamlive0155
push rtmp://origin.wgstream.sx/cast?publishsign=aWQ9ODgmc2lnbj03dlhxMUsrVlFWVkZvbC9oQldkZkdBPT0=/zzf3ovfa;
push rtmp://lanorah555.merizaat.com:4440/live/wsmkmlfeed155;
push rtmp://origin.obstream.sx/cast?publishsign=aWQ9MzQmc2lnbj1CQ3pRVkgvTEN6SE5NTkJ6bTdUOGxnPT0=/t8ruwvt;
#push rtmp://195.128.249.36:1850/cdn/myfeed155;

  }}}