Fix wordpress rules, removing incorrect CVE fix (#184)
parent
d9d9a1a92a
commit
ec86d8819b
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue