Fix period escapes
parent
73c9bd8174
commit
88a4929d36
|
@ -28,7 +28,7 @@ export default global => {
|
|||
const config = {};
|
||||
|
||||
config['# Drupal: deny private files'] = '';
|
||||
config['location ~ ((^|/)\.|^.*\.yml$|^/sites/.*/private/|^/sites/[^/]+/[^/]*settings.*\.php$)'] = {
|
||||
config['location ~ ((^|/)\\.|^.*\\.yml$|^/sites/.*/private/|^/sites/[^/]+/[^/]*settings.*\\.php$)'] = {
|
||||
deny: 'all',
|
||||
return: '404',
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue