diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-08-01 15:52:11 +0200 |
---|---|---|
committer | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-08-01 15:52:11 +0200 |
commit | b7062f43e21fb362d739bc295ef50ca60c15bd33 (patch) | |
tree | 558f5164f652097aa6258202afa3adc590e87d08 /nixos | |
parent | a5215068347747a633c46d2b178a1fc360ea129b (diff) |
hedgedoc: add `enableStatsApi` configuration option
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/web-apps/hedgedoc.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/hedgedoc.nix b/nixos/modules/services/web-apps/hedgedoc.nix index d13f03ab43eb3..92a5089e950ce 100644 --- a/nixos/modules/services/web-apps/hedgedoc.nix +++ b/nixos/modules/services/web-apps/hedgedoc.nix @@ -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; |