you can copy this location & paste beneath with flv instead of mp4<br><br><div class="gmail_quote">On Mon, Jul 2, 2012 at 2:02 PM, aryut <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
<br>
i want to use mp4 module and secure link module together.<br>
<br>
this is my conf;<br>
                        location /videos/ {<br>
                        secure_link $arg_st,$arg_e;<br>
                        secure_link_md5 ssss$remote_addr$uri$arg_e;<br>
                        if ($secure_link = "") {<br>
                                return 403;<br>
                        }<br>
<br>
                        if ($secure_link = "0") {<br>
                                return 403;<br>
                        }<br>
<br>
                                mp4;<br>
<br>
                }<br>
it works with this config but when i change mp4; with<br>
                               location ~ \.mp4$ {<br>
                                                mp4;<br>
                                        }<br>
secure link doesn't works. streaming an seeking working well.<br>
<br>
i need to add this line because i want to stream flv files too.<br>
<br>
wat is the true way ? thanks.<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,228161,228161#msg-228161" target="_blank">http://forum.nginx.org/read.php?2,228161,228161#msg-228161</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br>