fix: monitoring nginx

merge-requests/92/head
Pyjacpp 2026-09-21 18:59:27 +02:00
parent 35bbafb0b1
commit 63b308b8d9
No known key found for this signature in database
GPG Key ID: ED479A5A26930939
1 changed files with 15 additions and 0 deletions

View File

@ -14,5 +14,20 @@
set_real_ip_from fd00::/56; set_real_ip_from fd00::/56;
real_ip_header X-Real-Ip; real_ip_header X-Real-Ip;
''; '';
virtualHosts.nginx-stub-status = lib.mkIf config.crans.monitoring.enable {
listen = [
{
addr = "[::1]";
port = 6424;
ssl = false;
}
];
locations."/stub_status" = {
extraConfig = ''
stub_status;
'';
};
};
}; };
} }