Struggling with config

Hi everyone, I’m new to Grafana and have gotten stuck with the basics.

My config is this:


Protocol (http, https, socket)

protocol = http

The ip address to bind to, empty will bind to all interfaces

http_addr =

The http port to use

http_port = 8080

The public facing domain name used to access grafana from a browser

domain = localhost:8080

Redirect to correct domain if host header does not match domain

Prevents DNS rebinding attacks

enforce_domain = false

The full public facing url

#root_url = %(protocol)s://%(domain)s:%(http_port)s
root_url = %(protocol)s://%(domain)s/grafana/

When I browse http://localhost:8080/grafana/login/ I get:

  • [ Docs ]
  • [ Support Plans ]
  • [ Community ]
  • [Grafana] v5.2.4 (commit: 0bbac5c)
  • [ New version available! ]

if you have a root_url that adds a subpath (like /grafana) you need a reverse proxy that handles that subpath.