diff options
-rw-r--r-- | modules/services/atticd.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/services/atticd.nix b/modules/services/atticd.nix index 444f6eb..fca181d 100644 --- a/modules/services/atticd.nix +++ b/modules/services/atticd.nix @@ -79,6 +79,18 @@ in } ]; + services.nginx.virtualHosts = builtins.listToAttrs (map (host: { + name = host; + value = { + extraConfig = '' + client_max_body_size 0; + + proxy_read_timeout 300s; + proxy_send_timeout 300s; + ''; + }; + }) cfg.hosts); + systemd.services.atticd-watch-store = mkIf cfg.watchStore { wantedBy = [ "multi-user.target" ]; wants = [ "network-online.target" ]; |