CORS Error for http-bind endpoint

Can someone please help on these errors. I have setup jitsi server with configuration done by manually.
When join a call, I can see these errors in console and video/audio will not enable.

In network tab, I can see https://jitsi-meet.server0ne.com/http-bind?room=persistentcloudsfocusemotionally request has CORS error. But certification configure as mention in wiki page.

You need to fix the CORS headers here: jitsi-meet/jitsi-meet.example at b428ce2dcd5a66fec43b1a03c607717e7aa28fe7 · jitsi/jitsi-meet · GitHub
To allow this combination, where you access your web on one address and use bosh on another address.

CORS enabled but still getting same error. is there anything i missed ?

    listen [::]:443 ssl http2;
    # tls configuration that is not covered in this guide
    # we recommend the use of https://certbot.eff.org/
    server_name server0ne.com.com;

    ssl_certificate /etc/ssl/server0ne.com.crt;
    ssl_certificate_key /etc/ssl/server0ne.com.key;
    # set the root
    root /home/ubuntu/jitsi-meet;
    index index.html;
    location ~ ^/([a-zA-Z0-9=\?]+)$ {
        rewrite ^/(.*)$ / break;
    }
    location / {
        ssi on;
    }

    set $origin $http_origin;

    # BOSH, Bidirectional-streams Over Synchronous HTTP
    # https://en.wikipedia.org/wiki/BOSH_(protocol)
    location /http-bind {
        proxy_pass      http://localhost:5280/http-bind;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header Host $http_host;
    }

    location /xmpp-websocket {
        proxy_pass http://localhost:5280/xmpp-websocket;
        proxy_http_version 1.1;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Upgrade $http_upgrade;

        proxy_set_header Host $host;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_read_timeout 900s;
    }
    # external_api.js must be accessible from the root of the
    # installation for the electron version of Jitsi Meet to work
    # https://github.com/jitsi/jitsi-meet-electron
    location /external_api.js {
        alias /home/ubuntu/jitsi-meet/libs/external_api.min.js;
    }
}