Update src/nginxconfig/generators/conf/drupal.conf.js

Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>
pull/146/head
Alexandre Dias 2020-06-15 15:08:31 +01:00 committed by GitHub
parent ddd2cfb517
commit 9602a666a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export default global => {
const config = {}; const config = {};
config['# Drupal: deny private files'] = ''; config['# Drupal: deny private files'] = '';
config['location ~ ((^|/)\.|^.*\.yml$|^/sites/.*/private/|^/sites/[^/]+/.*settings.*\.php$)'] = { config['location ~ ((^|/)\.|^.*\.yml$|^/sites/.*/private/|^/sites/[^/]+/[^/]*settings.*\.php$)'] = {
deny: 'all', deny: 'all',
return: '404', return: '404',
}; };