WIP: gitea metrics
Eval nix flake / evals (push) Failing after 1m52s
Details
Eval nix flake / evals (push) Failing after 1m52s
Details
This commit is contained in:
parent
c90dda4f85
commit
dcfd6941b3
|
@ -61,6 +61,15 @@ in {
|
|||
client_max_body_size 512M;
|
||||
'';
|
||||
};
|
||||
|
||||
locations."/metrics" = {
|
||||
proxyPass = "http://unix:${cfg.settings.server.HTTP_ADDR}";
|
||||
extraConfig = ''
|
||||
allow ${values.hosts.ildkule.ipv4};
|
||||
allow ${values.hosts.ildkule.ipv6};
|
||||
deny all;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ sshPort ];
|
||||
|
|
Loading…
Reference in New Issue