From 90411b997c347ec133c3e61b0d1f2c8682e994c1 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 10 Dec 2023 07:05:50 -0500 Subject: atlas: start hosting attic --- systems/atlas/nginx.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'systems/atlas/nginx.nix') diff --git a/systems/atlas/nginx.nix b/systems/atlas/nginx.nix index 6cdd793..626b4b3 100644 --- a/systems/atlas/nginx.nix +++ b/systems/atlas/nginx.nix @@ -28,12 +28,17 @@ in { services.nginx = { enable = true; + clientMaxBodySize = "2048m"; # 2GB recommendedGzipSettings = true; recommendedOptimisation = true; recommendedProxySettings = true; recommendedTlsSettings = true; virtualHosts = mkVHosts { + "cache.${domain}" = { + locations = mkProxy "/" "5000"; + }; + "miniflux.${domain}" = { locations = mkProxy "/" "7000"; }; -- cgit v1.2.3