nginx-0.7.18

Igor Sysoev is at rambler-co.ru
Mon Nov 10 20:07:35 MSK 2008


On Mon, Nov 10, 2008 at 03:59:31PM +0100, Thomas wrote:

> >    *) Feature: the ngx_http_secure_link_module.
> >
> Is it possible to proxy the request?
> 
> I'd like to do something like this:
> --
>   location /dl/
>        secure_link_secret  lhm;
>        if ($secure_link = "") {
>            return 403;
>        }
>     }
> 
>     proxy_pass http://192.168.0.10:3000;
> 
>     rewrite  ^   $secure_link  break;
> --

Yes, you may use something like this:

     proxy_pass http://192.168.0.10:3000/$secure_link;


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list