video stream and secure link

aryut nginx-forum at nginx.us
Mon Jul 2 14:25:15 UTC 2012


i'll try to explain again; 

location /videos/ { 
   /*secure link module codes */
    mp4; 
} //secure link and mp4 streaming & seeking works well

location /videos/ { 
	/*secure link module codes */  
	mp4; 
	flv;	
} //secure links works. mp4 streaming & seeking doesnt works as should
be.

location /videos/ { 
	/*secure link module codes */ 
	location ~ \.mp4$ { 
		mp4;
	}  
} //secure link doesn't works, mp4 streaming & seeking works.



location /videos/ { 
	/*secure link module codes */  
	mp4; 
	location ~ \.flv$ { 
		flv;
	} 
} //secure link works on mp4 extension, but doesn't works on flv.
streamings & seekings works well.



location /videos/ { 
	/*secure link module codes */  
	location ~ \.mp4$ { 
		mp4;
	}  
	location ~ \.flv$ { 
		flv;
	} 
} //secure link  doesn't works on flv and mp4. streamings & seekings
works well.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,228161,228172#msg-228172



More information about the nginx mailing list