Created
July 3, 2015 01:18
-
-
Save zanematthew/5e7f446723f528f7ad96 to your computer and use it in GitHub Desktop.
Block direct EDD downloads for WordPress Networking
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
# Block direct EDD downloads for WordPress Networking | |
location ~ ^/wp-content/uploads/sites/(.*)/edd/(.*?)\.zip$ { | |
rewrite / permanent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment