hedgedoc: add enableStatsApi
configuration option
This commit is contained in:
parent
a521506834
commit
b7062f43e2
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue