mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-11 20:17:48 +08:00
Fix wordpress rules, removing incorrect CVE fix (#184)
This commit is contained in:
committed by
GitHub
parent
d9d9a1a92a
commit
ec86d8819b
@@ -50,11 +50,6 @@ export default global => {
|
|||||||
deny: 'all',
|
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['# 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)$'] = {
|
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',
|
deny: 'all',
|
||||||
|
Reference in New Issue
Block a user