From 4b683cc8c2df34c7f5b079b4868daa4b8ec20f77 Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Fri, 25 Oct 2019 11:50:55 +0200 Subject: nixos/prosody: Adding http_upload module option --- nixpkgs/nixos/modules/services/networking/prosody.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'nixpkgs/nixos/modules') 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; -- cgit v1.2.3