mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-10 20:29:47 +08:00
WordPress: deny wp-links-opml.php
This commit is contained in:
@@ -19,7 +19,7 @@ location ~* ^/wp-content/plugins/.*\.(?!{{ extensions.assets }}|{{ extensions.fo
|
||||
}
|
||||
|
||||
# WordPress stuff
|
||||
location ~* ^/(?:xmlrpc\.php|wp-config\.php|wp-config-sample\.php|wp-comments-post\.php|readme\.html|license\.txt)$ {
|
||||
location ~* ^/(?:xmlrpc\.php|wp-links-opml\.php|wp-config\.php|wp-config-sample\.php|wp-comments-post\.php|readme\.html|license\.txt)$ {
|
||||
deny all;
|
||||
}<span ng-if="data.limit_req">
|
||||
|
||||
|
Reference in New Issue
Block a user