From 009a43799c28eca77752de4268c0e74700d13527 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 30 Oct 2024 20:16:45 +0100 Subject: srv3: move services to folder --- machines/srv3/webdav.nix | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 machines/srv3/webdav.nix (limited to 'machines/srv3/webdav.nix') diff --git a/machines/srv3/webdav.nix b/machines/srv3/webdav.nix deleted file mode 100644 index 9a4c126..0000000 --- a/machines/srv3/webdav.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ pkgs, ... }: -let - port = "6060"; -in -{ - services.nginx.virtualHosts."files.niedzwiedzinski.cyou" = { - forceSSL = true; - enableACME = true; - - locations."/" = { - proxyPass = "http://localhost:${port}"; - }; - }; - - services.webdav = { - enable = true; - configFile = "/etc/webdav.yaml"; - #settings = { - #address = "0.0.0.0"; - #port = port; - #scope = "/srv/files"; - #modify = true; - #auth = true; - #users = [ - #{ - #username = "patryk"; - #password = "test"; - #} - #]; - #}; - }; - -} -- cgit 1.4.1