Welcome! Log In Create A New Profile

Advanced

secure link and mp4 returning 404

Posted by jerz 
secure link and mp4 returning 404
January 26, 2013 04:26PM
Hi,

I'm having some difficulty getting the mp4 module to cooperate to with the secure link module. Having got the secure_link bit to work i'm now getting 404 errors and when i look at the error log i see "no such file or directory" errors but it's definitely the correct path.

Anybody got any ideas?

Thanks,
Mark



location / {
## This must match the URI part related to the MD5 hash and exp$
secure_link $arg_st;

## The MD5 hash is built from our secret token, the URI($path i$
secure_link_md5 SECRET$uri$remote_addr;

## If the hash is incorrect then $secure_link is a null string.
if ($secure_link = "") {
return 403;
}
root /videos/;
mp4;
}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
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