Welcome! Log In Create A New Profile

Advanced

Re: reverse proxying video streaming

Hari Hendaryanto
April 13, 2011 08:20AM
On 4/13/2011 6:43 PM, Maxim Dounin wrote:
>
> Most likely you have some regexp location in your config which
> matches *.flv.
>
> If you need exact match - most obvious solution is to use exact
> match location instead, i.e.
>
> location = /stream/content.flv {
> ...
> }
>
whoaa, you're so great. it worked.
thanks alot maxim :)

> Exact match locations are considered most specific and prevent
> testing of regexp locations. The same for normal static locations
> may be achieved via "^~" (no regexp) modifier.
>
> Alternative aproach is to properly isolate regexp locations by
> nesting them into appropriate normal locations, i.e. do something
> like
>
> location / {
> ...
>
> location ~ \.flv$ {
> ...
> }
> }
>
> location /stream/ {
> ...
> }
>
> This is actually recommended, but not exactly required in your
> case as it looks like you need exact match anyway.
>
> Maxim Dounin
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>


Powered By http://www.3g-net.net


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

reverse proxying video streaming

Hari Hendaryanto April 13, 2011 06:44AM

Re: reverse proxying video streaming

Francis Daly April 13, 2011 07:32AM

Re: reverse proxying video streaming

Hari Hendaryanto April 13, 2011 08:18AM

Re: reverse proxying video streaming

Maxim Dounin April 13, 2011 07:44AM

Re: reverse proxying video streaming

Hari Hendaryanto April 13, 2011 08:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 140
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready