events { worker_connections 1024; } 
http { 
  include mime.types; 
  include blockips.conf; 
  default_type application/octet-stream; 
  sendfile on; 
  keepalive_timeout 65; 
  server { 
      listen 20076;
      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 30076;
      chunk_size 4096;
      allow publish 127.0.0.1;
      allow publish 38.45.90.146;
      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://181.209.105.115:2525/play/espnpremium
-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://38.45.90.146:30076/live2/strBZHX70076;
          pull rtmp://38.45.90.146:30076/live/=strBZHXv70076 name=itsok70076 static; 
      } 
      application live2 { 
          live on; 
          record off;

#streamlive0076
push rtmp://origin.wgstream.sx/cast?publishsign=aWQ9ODgmc2lnbj1ySEhoNVV1MERkTXBPS2FRTm9Qdk9RPT0=/x9buv95p9kwqbow;
push rtmp://lanorah555.merizaat.com:4440/live/wsmkmlfeed76;
push rtmp://origin.obstream.sx/cast?publishsign=aWQ9MzQmc2lnbj1lNGgrVnlRWHJBTTVvRENOMFFnOEZBPT0=/eka6jtsowcqgv6;
#push rtmp://195.128.249.36:1850/cdn/myfeed76;

  }}}