Created
March 6, 2015 17:09
-
-
Save timersys/13af6af06ea0bbb38c73 to your computer and use it in GitHub Desktop.
Protect files in Easy Digital Downloads + Nginx
This file contains 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
#EDD + Nginx - protect your files | |
location ~ ^/wp-content/uploads/edd/(.*?)\.zip$ { | |
rewrite / permanent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
where the location file part in this code?