mirror of
https://github.com/digitalocean/nginxconfig.io
synced 2024-11-10 12:34:12 +00:00
Fix wordpress rules, removing incorrect CVE fix (#184)
This commit is contained in:
parent
d9d9a1a92a
commit
ec86d8819b
1 changed files with 0 additions and 5 deletions
|
@ -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 a new issue