summaryrefslogtreecommitdiff
path: root/hosts/vidhar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r--hosts/vidhar/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 69ca1403..d8f9cdb4 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -131,6 +131,8 @@
131 131
132 access_log syslog:server=unix:/dev/log main; 132 access_log syslog:server=unix:/dev/log main;
133 error_log syslog:server=unix:/dev/log info; 133 error_log syslog:server=unix:/dev/log info;
134
135 client_body_temp_path /run/nginx-client-bodies;
134 ''; 136 '';
135 upstreams.grafana = { 137 upstreams.grafana = {
136 servers = { "unix:${config.services.grafana.socket}" = {}; }; 138 servers = { "unix:${config.services.grafana.socket}" = {}; };
@@ -175,6 +177,9 @@
175 serviceConfig = { 177 serviceConfig = {
176 ExecReload = lib.mkForce "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; 178 ExecReload = lib.mkForce "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
177 LoadCredential = [ "selfsigned.key:${config.sops.secrets."selfsigned.key".path}" ]; 179 LoadCredential = [ "selfsigned.key:${config.sops.secrets."selfsigned.key".path}" ];
180
181 RuntimeDirectory = lib.mkForce [ "nginx" "nginx-client-bodies" ];
182 RuntimeDirectoryMode = "0750";
178 }; 183 };
179 }; 184 };
180 185