Having more than one CORS configurations in Sync Gateway

Having a requirement to use multiple CORS configurations in Sync Gateway. Is this possible within a single SGW instance or do I have to run multiple SGW instances with separate config files having specific CORS configs?

You should be able to do this with a single instance. If you look at the config file specs you’ll see they take arrays, so you can specify multiple origins, etc.

Thank you Hod. Tried it and worked. Great help.