I hope you got through this setup?
Based on the provided configuration, the issue may also related to the server_name directive. It is set to grafana.* , which will match any subdomain of the grafana domain, but not the grafana domain itself. To fix this, you should change grafana.* to grafana.my_domain.com.