lhmwzy at gmail.com
Tue Oct 21 18:34:55 MSD 2008
OK.Finally I get it.
Put "rewrite ^ /dll/$secure_link break;" to the secure_link block;
But I have a question:
The hash must be md5(link/file,secret).
When the file changes,the hash should also change.
Can nginx make the hash to md5(link,secret)?then only the directory
name is the key to hash,not include the name of files under the
In my example,when access /dll/dl/,use the hash md5(dl,secret),not
2008/10/21 Igor Sysoev <is at rambler-co.ru>:
> On Tue, Oct 21, 2008 at 10:12:59PM +0800, lhmwzy wrote:
>> get a 404 error.
>> get a 500 error.
>> I'm sure there is a file named index.html in dll/dl/.
> Probably you missed
> rewrite ^ /$secure_link break;
> Igor Sysoev
More information about the nginx