summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-07 16:30:30 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-05-07 16:30:30 +0200
commitbd056fe2eab7b53511c67b47b842b982f1a0222d (patch)
tree82aca08820e26dbb047a8547ffe6591dd8776213
parentSplit software configuration from hardware configuration to prepare for merging (diff)
downloadRory-Open-Architecture-bd056fe2eab7b53511c67b47b842b982f1a0222d.tar.xz
Nginx sendfile
-rwxr-xr-xhost/Rory-nginx/software.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/Rory-nginx/software.nix b/host/Rory-nginx/software.nix
index a551c6b..8d65825 100755
--- a/host/Rory-nginx/software.nix
+++ b/host/Rory-nginx/software.nix
@@ -20,6 +20,9 @@
         #use kqueue;
         worker_connections 512;
         '';
+      appendHttpConfig = ''
+        sendfile on;
+      '';
       upstreams = import ./matrix/upstreams.nix;
       virtualHosts = {
         "siliconheaven.thearcanebrony.net" = import ./hosts/thearcanebrony.net/siliconheaven.nix;