Current Configuration secure_link $arg_token,$arg_expiry; secure_link_md5 "secret$arg_expiry"; if ($secure_link = "") {return 405;} if ($secure_link = "0"){return 410;} Posted at Nginx Forum: https://forum.nginx.org/read.php?2,280125,280126#msg-280126