Hi,
I am trying to make grafana public facing
I added the following lines in the config file:
The http port to use
http_port = 3000
The public facing domain name used to access grafana from a browser
domain=abc.com
enforce_domain = false
The full public facing url
#root_url = %(protocol)s://%(domain)s:%(http_port)s/grafana
root_url = %(protocol)s://%(domain)s/grafana
and now trying to hit this URL, but this is not working
https://abc.com/grafana
Please help
Hi,
If you arent using a proxy, you must change the port to 80 and use HTTP in the URL.
Hi Daniel,
I created an EC2 machine and routed /login to ec2 via ALB
Now I am getting /login in path and response from grafana server as 200. But UI is showing the following Error:
If you’re seeing this Grafana has failed to load its application files
-
This could be caused by your reverse proxy settings.
-
If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath
-
If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build
-
Sometimes restarting grafana-server can help
are you just using EC2 ? or are you using another service or proxy on that instance?
Yes i am using EC2 machine.
I tried to create a reverse proxy using nginx also. still the login page is not loading. Getting the same error