No ‘Access-Control-Allow-Origin’ header error when sending logs


#1

I have two servers:
https://my-app-server : My App
https://my-log-server : My Sentry server (indeed a nginx reverse proxy to another machine that host the real Sentry server)

I am able to send logs to Sentry from the code of my application.
But when I try to send logs from a brower, I get the following error:

XMLHttpRequest cannot load https://my-log-server/api/3/store/?sentry_version=7&sentry_client=raven-js%2F3.15.0&sentry_key=89713500221d46ebb138b8551066c023. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://my-app-server' is therefore not allowed access. The response had HTTP status code 403.

Is it possible to send Sentry logs on a different domain that the same domain of the site? Or is it possible to bypass this ‘Access-Control-Allow-Origin’ ?

Thanks in advance for your help