Fix wordpress rules, removing incorrect CVE fix (#184)

This commit is contained in:
Matt (IPv4) Cowley 2020-10-21 16:55:06 +01:00 committed by GitHub
parent d9d9a1a92a
commit ec86d8819b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,11 +50,6 @@ export default global => {
deny: 'all',
};
config['# WordPress: deny scripts and styles concat'] = '';
config['location ~* \\/wp-admin\\/load-(?:scripts|styles)\\.php'] = {
deny: 'all',
};
config['# WordPress: deny general stuff'] = '';
config['location ~* ^/(?:xmlrpc\\.php|wp-links-opml\\.php|wp-config\\.php|wp-config-sample\\.php|wp-comments-post\\.php|readme\\.html|license\\.txt)$'] = {
deny: 'all',