Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Protect files in Easy Digital Downloads + Nginx
#EDD + Nginx - protect your files
location ~ ^/wp-content/uploads/edd/(.*?)\.zip$ {
rewrite / permanent;

This comment has been minimized.

Copy link

@myprinting2u myprinting2u commented Jun 8, 2020

where the location file part in this code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment