From f9267952d8f8ea4da7f89830a6c05757da62d5ed Mon Sep 17 00:00:00 2001
From: Jens Nolte <git@queezle.net>
Date: Fri, 7 Jan 2022 19:11:21 +0100
Subject: [PATCH] Adjust to updated nixpkgs nginx configuration

---
 layers/nginx.nix | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/layers/nginx.nix b/layers/nginx.nix
index fcce300..4f208d3 100644
--- a/layers/nginx.nix
+++ b/layers/nginx.nix
@@ -4,9 +4,10 @@
   services.nginx = {
     enable = true;
 
+    # Default (hardcoded) in recent nixpkgs
+    #types_hash_max_size 4096;
     appendHttpConfig = ''
       sendfile on;
-      types_hash_max_size 4096;
       server_names_hash_bucket_size 128;
     '';
   };
-- 
GitLab