From b7062f43e21fb362d739bc295ef50ca60c15bd33 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 1 Aug 2023 15:52:11 +0200 Subject: hedgedoc: add `enableStatsApi` configuration option --- nixos/modules/services/web-apps/hedgedoc.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nixos') 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; -- cgit 1.4.1