diff options
author | Adrian Kummerlaender | 2020-11-19 10:52:10 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2020-11-19 10:52:10 +0100 |
commit | cc4109f15b99d8f628fc98780b308a5439a36dbd (patch) | |
tree | 0324d0c1860561cc5bc71e1a1452407820a8b9cd /host | |
parent | f2ab7580c19fc7914ebfb0e9cf3a8dd109d09d4e (diff) | |
download | nixos_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')
-rw-r--r-- | host/software/server/website.nix | 4 |
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"; }; } |