Merge remote-tracking branch 'origin/master' into updating-configuration

This commit is contained in:
VirtuBox
2019-12-16 14:10:06 +01:00

View File

@@ -94,3 +94,7 @@ location ~* /(?:uploads|files)/.*\.php$ {
location ~ \/wp-admin\/load-(scripts|styles).php {
deny all;
}
# Protect Easy Digital Download files from being accessed directly.
location ~ ^/wp-content/uploads/edd/(.*?)\.zip$ {
rewrite / permanent;
}