Hi Team,
I am trying to access the grafana UI from the AWS REST API. The configuration is as follows: AWS REST API (with CORS enabled) → internal NLB → ECS hosting Grafana server. The rest api is running on the url : url_of_https_api/dev where ‘dev’ is the stage name which is mandatory in REST API.
My grafana config looks like this:
[server]
enable_gzip = true
protocol = http
domain = api-id.execute-api.region.amazonaws.com
enforce_domain = false
root_url = https://api-id.execute-api.region.amazonaws.com/dev
[security
allow_embedding = true
cookie_samesite = none
cookie_secure = true
Could you please help me why I am getting ‘Origin not allowed’ error?