use x-webauth-user for grafana auth
change
commit 443006432eefd2ac31a4bf0ee07f67f23b009ad5
author Alpha Chen <alpha@kejadlen.dev>
date
parent 0b82550c
diff --git a/lotus-land-story/grafana.yml b/lotus-land-story/grafana.yml
index 781ad54..19af028 100644
--- a/lotus-land-story/grafana.yml
+++ b/lotus-land-story/grafana.yml
@@ -42,7 +42,7 @@
 
           [auth.proxy]
           enabled = true
-          header_name = Remote-User
+          header_name = X-WEBAUTH-USER
           header_property = email
           auto_sign_up = false
 
diff --git a/lotus-land-story/templates/Caddyfile b/lotus-land-story/templates/Caddyfile
index 2f18d66..0debbf7 100644
--- a/lotus-land-story/templates/Caddyfile
+++ b/lotus-land-story/templates/Caddyfile
@@ -61,7 +61,7 @@ grafana {
 	bind tailscale/grafana
 	tailscale_auth
 	reverse_proxy grafana:3000 {
-		header_up Remote-User {http.auth.user.tailscale_user}
+		header_up X-Webauth-User {http.auth.user.tailscale_user}
 	}
 }