feat: remove leftover invalid paperless monitor, add grafana dashboard

This commit is contained in:
oddlama 2024-07-21 01:59:45 +02:00
parent 611a64fb49
commit cb4f4f251f
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
6 changed files with 938 additions and 14 deletions

View file

@ -67,10 +67,10 @@ in {
zone paperless 64k;
keepalive 2;
'';
monitoring = {
enable = true;
expectedBodyRegex = "Paperless-ngx";
};
# direct upstream monitoring doesn't work because
# paperless allowed hosts fails for ip-based queries.
# But that's fine, we just monitor it via the domain above anyway.
#monitoring.enable = true;
};
virtualHosts.${paperlessDomain} = {
forceSSL = true;