summaryrefslogtreecommitdiff
path: root/hosts/surtr/http.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-31 17:07:10 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-31 17:07:10 +0100
commita042822c4c01f2c33bd684a9cb2c68d0b56a812a (patch)
treed3796906a8b6866edd1cae9ba60f9acc9d76fee7 /hosts/surtr/http.nix
parent6562b2c5793c7329f08b1c6d14cf732cb6d41bb4 (diff)
downloadnixos-a042822c4c01f2c33bd684a9cb2c68d0b56a812a.tar
nixos-a042822c4c01f2c33bd684a9cb2c68d0b56a812a.tar.gz
nixos-a042822c4c01f2c33bd684a9cb2c68d0b56a812a.tar.bz2
nixos-a042822c4c01f2c33bd684a9cb2c68d0b56a812a.tar.xz
nixos-a042822c4c01f2c33bd684a9cb2c68d0b56a812a.zip
...
Diffstat (limited to 'hosts/surtr/http.nix')
-rw-r--r--hosts/surtr/http.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/surtr/http.nix b/hosts/surtr/http.nix
index bca89a4c..aac49e9b 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 = [ "/run/webdav-server-rs/webdav-server-rs.sock" ]; 7 server.listen = [ "localhost:4918" ];
8 accounts = { 8 accounts = {
9 auth-type = "pam"; 9 auth-type = "pam";
10 acct-type = "unix"; 10 acct-type = "unix";
@@ -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 = { "unix:/run/webdav-server-rs/webdav-server-rs.sock" = {}; }; 48 servers = { "localhost:4918" = {}; };
49 }; 49 };
50 virtualHosts = { 50 virtualHosts = {
51 "webdav.141.li" = { 51 "webdav.141.li" = {