Remove WordPress comments from deny rule (#241)

Co-authored-by: Bernhard Kau <bernhard@kau-boys.de>
pull/242/head
Bernhard Kau 4 years ago committed by GitHub
parent eb25fc5eee
commit 7706d13420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -51,7 +51,7 @@ export default global => {
};
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|readme\\.html|license\\.txt)$'] = {
deny: 'all',
};

Loading…
Cancel
Save