summaryrefslogtreecommitdiff
path: root/host/software
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-11-19 10:52:10 +0100
committerAdrian Kummerlaender2020-11-19 10:52:10 +0100
commitcc4109f15b99d8f628fc98780b308a5439a36dbd (patch)
tree0324d0c1860561cc5bc71e1a1452407820a8b9cd /host/software
parentf2ab7580c19fc7914ebfb0e9cf3a8dd109d09d4e (diff)
downloadnixos_system-cc4109f15b99d8f628fc98780b308a5439a36dbd.tar
nixos_system-cc4109f15b99d8f628fc98780b308a5439a36dbd.tar.gz
nixos_system-cc4109f15b99d8f628fc98780b308a5439a36dbd.tar.bz2
nixos_system-cc4109f15b99d8f628fc98780b308a5439a36dbd.tar.lz
nixos_system-cc4109f15b99d8f628fc98780b308a5439a36dbd.tar.xz
nixos_system-cc4109f15b99d8f628fc98780b308a5439a36dbd.tar.zst
nixos_system-cc4109f15b99d8f628fc98780b308a5439a36dbd.zip
Enable home access for Nginx on 20.09
Diffstat (limited to 'host/software')
-rw-r--r--host/software/server/website.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/software/server/website.nix b/host/software/server/website.nix
index 9b2493e..0a72e47 100644
--- a/host/software/server/website.nix
+++ b/host/software/server/website.nix
@@ -7,6 +7,8 @@
shell = pkgs.fish;
};
+ systemd.services.nginx.serviceConfig.ProtectHome = false;
+
# `public` generates websites using their custom derivations via `nix-build`
services.nginx.virtualHosts = let
@@ -49,5 +51,7 @@
"/nixexprs.tar.xz" = proxy "http://code.kummerlaender.eu/pkgs/snapshot/master.tar.xz";
"/nixexprs.tar.bz2" = proxy "http://code.kummerlaender.eu/pkgs/snapshot/master.tar.bz2";
};
+
+ "literatelb.org" = website "literatelb";
};
}