diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/web-server.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/config/web-server.nix b/config/web-server.nix index 5219a48..c07a4fc 100644 --- a/config/web-server.nix +++ b/config/web-server.nix @@ -13,13 +13,15 @@ in { # I'm storing web files in /home. systemd.services.nginx.serviceConfig.ProtectHome = "read-only"; - systemd.services.nginx.serviceConfig.ReadWritePaths = - [ "/storage/srv/kj.orbekk.com/tmp/hls/" ]; + systemd.services.nginx.serviceConfig.ReadWritePaths = [ + "/storage/srv/kj.orbekk.com/tmp/hls/" + "/storage/srv/kj.orbekk.com/dav/" + ]; services.nginx = { enable = true; package = pkgs.nginxStable.override { - modules = with pkgs.nginxModules; [ rtmp ]; # dav + modules = with pkgs.nginxModules; [ dav rtmp ]; }; recommendedProxySettings = true; appendHttpConfig = '' |