aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nixpkgs/nixos/modules/services/networking/prosody.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nixpkgs/nixos/modules/services/networking/prosody.nix b/nixpkgs/nixos/modules/services/networking/prosody.nix
index 7a503e71166..0fd84efc403 100644
--- a/nixpkgs/nixos/modules/services/networking/prosody.nix
+++ b/nixpkgs/nixos/modules/services/networking/prosody.nix
@@ -162,6 +162,12 @@ let
description = "Serve static files from a directory over HTTP";
};
+ http_upload = mkOption {
+ type = types.bool;
+ default = true;
+ description = "Allows clients to upload files via HTTP requests";
+ };
+
# Other specific functionality
limits = mkOption {
type = types.bool;