summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-31 18:14:14 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-31 18:14:14 +0100
commit9d0e8e03aa81b062947fbeb820f5618b71549e87 (patch)
tree94ae515db55c9ab7a8f64ff4e16b09e408c3403b /hosts
parentbe612aa1e594b2a23c9914bb3be443949a2a8a11 (diff)
downloadnixos-9d0e8e03aa81b062947fbeb820f5618b71549e87.tar
nixos-9d0e8e03aa81b062947fbeb820f5618b71549e87.tar.gz
nixos-9d0e8e03aa81b062947fbeb820f5618b71549e87.tar.bz2
nixos-9d0e8e03aa81b062947fbeb820f5618b71549e87.tar.xz
nixos-9d0e8e03aa81b062947fbeb820f5618b71549e87.zip
...
Diffstat (limited to 'hosts')
-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" = {