## WP Defender - Prevent information disclosure ### Turn off directory indexing autoindex off; # Deny access to htaccess and other hidden files location ~ /\. { deny all; } # Deny access to wp-config.php file location = /wp-config.php { deny all; } # Deny access to revealing or potentially dangerous files in the /wp-content/ directory (including sub-folders) location ~* ^/wp-content/.*\.(md|exe|sh|bak|inc|pot|po|mo|log|sql)$ { deny all; } ## WP Defender - End ##

What do you need?

Choose the category