CORS: apache configuration

Hi all, before reporting my errors, I wish to know what apache directives I shall use to allow CORS requests to Nextcloud.

Is this sufficient?

Header set Access-Control-Allow-Origin "https://example.domain.com"

Is CORS supported on Nextcloud 11.x ?

Thank you.