mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 02:24:52 +00:00
grafana provisioning
convert grafana dashboard to nix native remove grafana yml file
This commit is contained in:
parent
20e5d7fef5
commit
21794891e7
@ -30,7 +30,8 @@ in {
|
||||
match = [{ host = [ config.hostnames.books ]; }];
|
||||
handle = [{
|
||||
handler = "reverse_proxy";
|
||||
upstreams = [{ dial = "localhost:8083"; }];
|
||||
upstreams =
|
||||
[{ dial = "localhost:${config.services.calibre-web.listen.port}"; }];
|
||||
headers.request.add."X-Script-Name" = [ "/calibre-web" ];
|
||||
}];
|
||||
}];
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -39,7 +39,11 @@ in {
|
||||
match = [{ host = [ config.hostnames.secrets ]; }];
|
||||
handle = [{
|
||||
handler = "reverse_proxy";
|
||||
upstreams = [{ dial = "localhost:8222"; }];
|
||||
upstreams = [{
|
||||
dial = "localhost:${
|
||||
builtins.toString config.services.vaultwarden.config.ROCKET_PORT
|
||||
}";
|
||||
}];
|
||||
headers.request.add."X-Real-IP" = [ "{http.request.remote.host}" ];
|
||||
}];
|
||||
}];
|
||||
|
Loading…
Reference in New Issue
Block a user