summaryrefslogtreecommitdiff
path: root/hosts/surtr/http.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/surtr/http.nix')
-rw-r--r--hosts/surtr/http.nix6
1 files 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 @@
4 services.webdav-server-rs = { 4 services.webdav-server-rs = {
5 enable = true; 5 enable = true;
6 settings = { 6 settings = {
7 server.listen = [ "127.0.0.1:4918" "[::1]:4918" ]; 7 server.listen = [ "127.0.0.1:4918" ];
8 accounts = { 8 accounts = {
9 auth-type = "pam"; 9 auth-type = "pam";
10 acct-type = "unix"; 10 acct-type = "unix";
@@ -16,7 +16,7 @@
16 { 16 {
17 route = [ "/*path" ]; 17 route = [ "/*path" ];
18 auth = "true"; 18 auth = "true";
19 handler = "virtroot"; 19 handler = "filesystem";
20 setuid = true; 20 setuid = true;
21 directory = "/srv/files"; 21 directory = "/srv/files";
22 } 22 }
@@ -45,7 +45,7 @@
45 ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1; 45 ssl_ecdh_curve X25519:prime256v1:secp521r1:secp384r1;
46 ''; 46 '';
47 upstreams.webdav = { 47 upstreams.webdav = {
48 servers = { "localhost:4918" = {}; }; 48 servers = { "127.0.0.1:4918" = {}; };
49 }; 49 };
50 virtualHosts = { 50 virtualHosts = {
51 "webdav.141.li" = { 51 "webdav.141.li" = {