ctucx.git: nixfiles

ctucx' nixfiles

commit c383e2a59562a65eed0e084519b6378767a4eb18
parent e74043cddeb65ba4b3d7587fc138f51599b3afcb
Author: Leah (ctucx) <git@ctu.cx>
Date: Tue, 16 May 2023 13:49:32 +0200

configurations/linux/default: update nginx commonHttpConfig
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/configurations/linux/default.nix b/configurations/linux/default.nix
@@ -44,7 +44,12 @@
       recommendedOptimisation  = true;
       recommendedProxySettings = true;
       recommendedTlsSettings   = true;
-      appendHttpConfig         = "server_names_hash_bucket_size 64;";
+      commonHttpConfig = ''
+        server_names_hash_bucket_size 64;
+        charset utf-8;
+
+        access_log off;
+      '';
       virtualHosts.default = {
         default   = true;
         rejectSSL = true;