Created
December 1, 2015 22:14
-
-
Save koonuf/fcf6b34d26d237e777b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location /img/ { | |
secure_link $arg_h,$arg_e; | |
secure_link_md5 "$secure_link_expires$uri 6q3R9jhzG5"; | |
if ($secure_link = "") { | |
return 404; | |
} | |
if ($secure_link = "0") { | |
return 404; | |
} | |
alias /home/files/; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment