When I access Grafana from browser with Azure Front Door Domain, I can login successfully but after sometime i can see "Origin not Allowed" Error,
Grafana installed on Kubernetes 1.24v we have Nginx Ingress Controller setup in K8s with public domain mapped with GoDaddy(example.dev)
we have Configured Ingress rules for Grafana and added "example.dev" as a host in spec.rules.host, so it can accessible from "example.dev/grafana".
Everything is fine with "example.dev/grafana", can login successfully and could'nt find any issues.
Coming to Azure Front Door, We added "example.dev" domain as custom Domain as Backend Pool and Added Route rule to "/grafana.
When Accessed From " *.azurefd.net " domain, it can hit login page of Grafana and login is happening well but after login I can see "Origin Not Allowed" issue prompted in Grafana UI.
version:
Grafana: 8.5.5, 8.3.5, 9.0.4, 9.3.1(stable) same issue with every version Azure Kuberenetes Service: 1.24.x Nginx Ingress: registry.k8s.io/ingress-nginx/controller:v1.5.1 others: Azure Front Door, Azure Kuberertes Service Browser: Chrome, Microsoft Edge
I need to Access Grafana from Azure front Domain " *.azurefd.net/grafana ", azure door will route it to Nginx Ingress and from to Grafana Service "ClusterIP".
*.azurefd.net/grafana -----> example.dev/grafana
Front Door to ingress is https ingress to backed Grafana service is http