You should focus on one thing, localhost configuration or the uniquestream.net configuration because every one have it is own config.
But any way you should open the nginx.conf and add these lines after:
Code:location ~ \.php$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME C:/nginx/html/$fastcgi_script_name; include fastcgi_params; }
Here is the lines:
Code:location /embed { rewrite ^/embed/pt\-(\w+)$ /stream/pyd_to.php?link=$1 break; rewrite ^/embed/gd\-([\-\w]+)$ /stream/g_doc.php?link=$1 break; rewrite ^/embed/vk\-([\|\w]+)$ /stream/vk_com.php?link=$1 break; rewrite ^/embed/p4\-(.*)$ /stream/p44_net.php?link=$1 break; rewrite ^/embed/v4\-(.*)$ /stream/v44_net.php?link=$1 break; rewrite ^/embed/vf\-(.*)$ /stream/vf_me.php?link=$1 break; rewrite ^/embed/(\w+)$ /stream/index.php?link=$1 break; } location /jwplayer { rewrite ^/jwplayer/(.*) /stream/jwplayer/$1 break; } location = /hosts.js { rewrite ^(.*)$ /stream/hosts.js break; } location / { if ($http_referer !~ "^http://(play\\.)?uniquestream\\.net"){ return 403; }
ok here is my full code #user nobody; worker_processes 1; #error_log logs/error.log; #error_lo - Pastebin.com
after restart nginx i cant access http://play.uniquestream.net/ and http://www.uniquestream.net/watch/gundam+build+fighters/13/ operation timed out