Missing 'location' in WordPress (fixes #152)

pull/159/head
MattIPv4 5 years ago
parent f612c5d0ed
commit 6aa05d6cd1

@ -33,7 +33,7 @@ export default global => {
};
config['# WordPress: deny wp-content, wp-includes php files'] = '';
config['~* ^/(?:wp-content|wp-includes)/.*\\.php$'] = {
config['location ~* ^/(?:wp-content|wp-includes)/.*\\.php$'] = {
deny: 'all',
};

Loading…
Cancel
Save