Update src/nginxconfig/generators/conf/drupal.conf.js
Co-authored-by: Matt (IPv4) Cowley <me@mattcowley.co.uk>pull/146/head
parent
3e92a289de
commit
80e7f251d3
|
@ -34,7 +34,7 @@ export default global => {
|
||||||
deny: 'all',
|
deny: 'all',
|
||||||
};
|
};
|
||||||
|
|
||||||
config['# Allow image styles to be handled by the CMS.'] = '';
|
config['# Drupal: allow image styles to be handled by the CMS'] = '';
|
||||||
config['location ~ ^/sites/[^/]+/files/styles/'] = {
|
config['location ~ ^/sites/[^/]+/files/styles/'] = {
|
||||||
try_files: '$uri @rewrite',
|
try_files: '$uri @rewrite',
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue