cmd/proxy-to-grafana: fix package doc code snippet

Markdown isn't supported.

Change-Id: I8d9bb92260c164dc277afbce624f64fc2faf5125
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick 2022-03-23 12:36:11 -07:00 committed by Brad Fitzpatrick
parent 5fa502b5dc
commit 98984c1a9a
1 changed files with 8 additions and 10 deletions

View File

@ -14,16 +14,14 @@
// //
// Use this Grafana configuration to enable the auth proxy: // Use this Grafana configuration to enable the auth proxy:
// //
// ``` // [auth.proxy]
// [auth.proxy] // enabled = true
// enabled = true // header_name = X-WEBAUTH-USER
// header_name = X-WEBAUTH-USER // header_property = username
// header_property = username // auto_sign_up = true
// auto_sign_up = true // whitelist = 127.0.0.1
// whitelist = 127.0.0.1 // headers = Name:X-WEBAUTH-NAME
// headers = Name:X-WEBAUTH-NAME // enable_login_token = true
// enable_login_token = true
// ```
package main package main
import ( import (