Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CORS for Drupal 8 #38

Open
sprklinginfo opened this issue Nov 1, 2019 · 1 comment
Open

Enable CORS for Drupal 8 #38

sprklinginfo opened this issue Nov 1, 2019 · 1 comment

Comments

@sprklinginfo
Copy link

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,

@csandanov
Copy link
Member

csandanov commented Nov 5, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants