carlalexander / debops-wordpress

Your superpowered WordPress server in three commands.
GNU General Public License v3.0
439 stars 65 forks source link

How to enable CORS #187

Closed bschulz87 closed 7 years ago

bschulz87 commented 7 years ago

I'd like to expose the rest API and need to access it from localhost. I'm fairly new to ansible and debops and can't find much about it in the DebOps docs.

How can i configure the nginx server to allow CORS?

bschulz87 commented 7 years ago

Managed to find it: /roles/wordpress/vars/main.yml