mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-09-23 20:54:31 +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
|
# 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;
|
deny all;
|
||||||
}<span ng-if="data.limit_req">
|
}<span ng-if="data.limit_req">
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user