Created
April 25, 2015 15:20
-
-
Save rahul286/7373976f67412e61785f to your computer and use it in GitHub Desktop.
EDD downloads security with EasyEngine
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
# For more details, refer - https://easydigitaldownloads.com/support/topic/download-files-not-protected-nginx-under-easyengine/ | |
# NOT tested (yet) | |
location /wp-content/uploads/ { | |
location ~ ^/wp-content/uploads/edd/(.*?)\.zip$ { | |
rewrite / permanent; | |
} | |
location ~ \.php$ { | |
#Prevent Direct Access Of PHP Files From Web Browsers | |
deny all; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be helpful to us less technical users if you could leave a brief description of where this file is to be located.
Many thanks.