i think there is a typo on the following page
where the content of the /usr/local/nginx/conf/wpsecure.conf file is descriped. There a nested location is given, whereas it should not be a nested one (also in the other example it isn't indeed one)
#disallow location ~* (roundcube|webdav|smtp|http\:|soap|w00tw00t) { return 444;
location ~ /(\.|wp-config.php|readme.html|license.txt) { deny all; }
see? The last } should be before the second location statement. Now wp-config.php is assumed to be found inside roundcube or something..
Shared publiclyView activity