docker icon indicating copy to clipboard operation
docker copied to clipboard

allow CORS

Open MetaiR opened this issue 2 years ago • 2 comments

hi, I want to allow cors, I know by adding "add_header Access-Control-Allow-Origin *;" to nginx I can allow it and I don't want to use external web server option; I can edit nginx conf files and rebuild and reinstall whole thing (I tested it before and my changes are available in final containers)

so the question is where should I add this? I already try these files: 1, /etc/nginx/conf.d/default.conf -> inside server block 2, /etc/nginx/bbb/web.nginx -> inside /bigbluebutton block none of them seem to work

MetaiR avatar Oct 21 '22 16:10 MetaiR

Anybody?

MetaiR avatar Oct 21 '22 22:10 MetaiR

---- update ---- after putting add_header Access-Control-Allow-Origin *; inside default.conf, all of the APIs are working except the "create" API,

it is very weird

MetaiR avatar Oct 22 '22 21:10 MetaiR