Add state versions.

This commit is contained in:
Nolan Darilek 2025-04-18 19:40:45 -05:00
parent 1d0776eb52
commit 4b054cc0f8
6 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{
services = {
grafana = {
enable = true;
settings = {
auth.proxy = {
enabled = true;
header_name = "Remote-User";
headers = "Name:Remote-Name Email:Remote-Email Groups:Remote-Groups";
};
};
};
caddy.virtualHosts."grafana.tailc50184.ts.net".extraConfig = ''
bind tailscale/grafana
forward_auth localhost:9091 {
uri /api/authz/forward-auth
copy_headers Remote-User Remote-Name Remote-Email Remote-Groups
}
reverse_proxy localhost:3000
'';
};
}