nginx icon indicating copy to clipboard operation
nginx copied to clipboard

Enable CORS for Drupal 8

Open sprklinginfo opened this issue 5 years ago • 1 comments

Hi there, I am using the entire Docker4Drupal stack for de-coupled Drupal development. I enabled 'CORS' in drupal services.yml and I need to enable Nginx to allow for CORS as well. By default, it uses the preset 'drupal8.conf.tmpl', how can I modify this tmpl file to enable CORS?

Thanks,

sprklinginfo avatar Nov 01 '19 20:11 sprklinginfo

Hi, please see https://github.com/wodby/nginx#customization

csandanov avatar Nov 05 '19 05:11 csandanov