summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/web-server.nix8
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 = ''