Nginx how to configure out file?

The situation is, you need to give the video stream "LiveStream" but it's creepy.
Installed, configured, launched, works, but not as much as you need.
I enter the URL in the browser is and the thread gave a link to (the IP set in the player) everything works.
If in a browser, enter the IP of the Internet or your local (home), and there it does not work.
In General, only works when in the browser and in player matches IP or URL then everything works.
Here is the nginx configuration.
#user nobody;
worker_processes 6;

events {
 worker_connections 1024;
 rtmp_auto_push on;

http {
 include mime.types;
 default_type application/octet-stream;
 sendfile on;
 keepalive_timeout 65;

 server {
 listen 80;
 #server_name localhost;

 access_log /var/log/nginx/access.log;
 error_log /var/log/nginx/error.log;

 location / {
 root /var/www;
 index index.html index.htm;


 # rtmp control
 location /control {
 rtmp_control all;

 location /hls {
 types {
 application/ m3u8;
 video/mp2t ts;
 root /tmp;

 error_page 500 502 503 504 /50x.html;
 location =/50x.html
 root html;

Here is the log when different URLS or IP while browsing TV. - - [26/Feb/2015:19:46:51 +0300] "GET /hls/live.m3u8?time=1424969211946 HTTP/1.1" 200 227 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36"

I suspect that player cannot find the full path and file splitting of TS
I think that in this location /hls so the video goes with the subdomain, domain 3 level, and the video I try to look at the main page.
How to solve the problem ?
September 19th 19 at 13:11
0 answer

Find more questions by tags Nginx