Commit b7062f43 authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

hedgedoc: add `enableStatsApi` configuration option

parent a5215068
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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;