From cc4109f15b99d8f628fc98780b308a5439a36dbd Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 19 Nov 2020 10:52:10 +0100 Subject: Enable home access for Nginx on 20.09 --- host/software/server/website.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'host') 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"; }; } -- cgit v1.2.3