hedgedoc: add enableStatsApi configuration option

This commit is contained in:
Pol Dellaiera 2023-08-01 15:52:11 +02:00
parent a521506834
commit b7062f43e2

View File

@ -108,6 +108,13 @@ in
{option}`protocolUseSSL`.
'';
};
enableStatsApi = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
Enables or disables the /status and /metrics endpoint.
'';
};
hsts = {
enable = mkOption {
type = types.bool;