Documentation ¶
Overview ¶
proxy-to-grafana is a reverse proxy which identifies users based on their originating Tailscale identity and maps them to corresponding Grafana users, creating them if needed.
It uses Grafana's AuthProxy feature: https://grafana.com/docs/grafana/latest/auth/auth-proxy/
Set the TS_AUTHKEY environment variable to have this server automatically join your tailnet, or look for the logged auth link on first start.
Use this Grafana configuration to enable the auth proxy:
[auth.proxy] enabled = true header_name = X-WEBAUTH-USER header_property = username auto_sign_up = true whitelist = 127.0.0.1 headers = Name:X-WEBAUTH-NAME enable_login_token = true
Click to show internal directories.
Click to hide internal directories.