summaryrefslogtreecommitdiff
path: root/systems/atlas/nginx.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-10 07:05:50 -0500
committerseth <[email protected]>2023-12-10 07:05:50 -0500
commit90411b997c347ec133c3e61b0d1f2c8682e994c1 (patch)
tree686c3c50abbcfbe2447ce2bdef626fbff6aa5dbb /systems/atlas/nginx.nix
parent173a5800f441aac8d27ea39b284d8e51e517df4b (diff)
atlas: start hosting attic
Diffstat (limited to 'systems/atlas/nginx.nix')
-rw-r--r--systems/atlas/nginx.nix5
1 files changed, 5 insertions, 0 deletions
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";
};