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

Markdown isn't supported.

Change-Id: I8d9bb92260c164dc277afbce624f64fc2faf5125
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/4267/head
Brad Fitzpatrick 3 years ago committed by Brad Fitzpatrick
parent 5fa502b5dc
commit 98984c1a9a

@ -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 (

Loading…
Cancel
Save