mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
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 New Issue
Block a user