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:24 +01:00 committed by GitHub
parent 80e7f251d3
commit ddd2cfb517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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',