Update src/nginxconfig/generators/conf/drupal.conf.js
Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>pull/146/head
parent
80e7f251d3
commit
ddd2cfb517
|
@ -18,7 +18,6 @@ export default global => {
|
|||
const config = {};
|
||||
|
||||
config['# Drupal: deny private files'] = '';
|
||||
|
||||
config['location ~ ((^|/)\.|^.*\.yml$|^/sites/.*/private/|^/sites/[^/]+/.*settings.*\.php$)'] = {
|
||||
deny: 'all',
|
||||
return: '404',
|
||||
|
|
Loading…
Reference in New Issue