Hi team. I have one query. We had setup signoz on ...
# support
m
Hi team. I have one query. We had setup signoz on <>.app.ai server. However, the otel collector url is of type
http
eg. `http//&lt;sth&gt; otel agent.platform4318/v1/traces`and our application is running
react
on
https
. Because of this the browser is throwing
Mixed content Blocked.
Is there a way to resolve this?
s
Move collector behind https
m
Its kubernetes. k8s-otel-infra-agent
Is there any example. blog relating to it?
@Srikanth Chekuri we are getting CORS after moving collector behind https. We exposed a https url and now the frontend is sending payload to that url and internally its sending to the
http://<sth>-otel-agent.platform:4318/v1/traces
. We have included following as well but still getting CORS. Is there other config needed from the FE ?
Copy code
http:
  cors:
    allowed_origins:
      - <<https://netflix.com>>  # URL of your Frontend application