From 9d0e8e03aa81b062947fbeb820f5618b71549e87 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 31 Jan 2022 18:14:14 +0100 Subject: ... --- hosts/surtr/http.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/surtr/http.nix b/hosts/surtr/http.nix index 6edc1466..d7f4c258 100644 --- a/hosts/surtr/http.nix +++ b/hosts/surtr/http.nix @@ -4,7 +4,7 @@ services.webdav-server-rs = { enable = true; settings = { - server.listen = [ "127.0.0.1:4918" "[::1]:4918" ]; + server.listen = [ "127.0.0.1:4918" ]; accounts = { auth-type = "pam"; acct-type = "unix"; @@ -16,7 +16,7 @@ { route = [ "/*path" ]; auth = "true"; - handler = "virtroot"; + handler = "filesystem"; setuid = true; directory = "/srv/files"; } @@ -45,7 +45,7 @@ ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1; ''; upstreams.webdav = { - servers = { "localhost:4918" = {}; }; + servers = { "127.0.0.1:4918" = {}; }; }; virtualHosts = { "webdav.141.li" = { -- cgit v1.2.3