nginx-0.7.18

Anton Yuzhaninov citrin at citrin.ru
Tue Oct 14 11:18:00 MSD 2008


On 14.10.2008 08:53, lhmwzy wrote:
> I have set a secure link:
>   location /dl/
>         {
>          secure_link_secret  lhm;
>             if ($secure_link == "") {
>                         return 503;
>              }
>         }
> 
> 
> Then
> md5(dllhm)=91fe55efd557140f7a32f7f7c1c74aa3
> 
> Then access it through
> http://host/91fe55efd557140f7a32f7f7c1c74aa3/dl/,but get a 404.
> 

URL should be under location /d1/ e. g.

http://host/d1/7a701b100383d50fc2995ed264add62a/some_url_to_protected_resource

$ echo -n some_url_to_protected_resourcelhm | md5
7a701b100383d50fc2995ed264add62a

-- 
  Anton Yuzhaninov





More information about the nginx mailing list