diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-09 00:23:17 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-09 00:23:17 +0200 |
commit | 14e731f40b91976976cc8b72f267bc90b0f07521 (patch) | |
tree | 94a8791364dd0868c6b4fc83b67b184b0d3dbdb2 /hosts/vidhar/default.nix | |
parent | d0afb2f7580846a829f2e7f548c42f5ba1ad0b9e (diff) | |
download | nixos-14e731f40b91976976cc8b72f267bc90b0f07521.tar nixos-14e731f40b91976976cc8b72f267bc90b0f07521.tar.gz nixos-14e731f40b91976976cc8b72f267bc90b0f07521.tar.bz2 nixos-14e731f40b91976976cc8b72f267bc90b0f07521.tar.xz nixos-14e731f40b91976976cc8b72f267bc90b0f07521.zip |
vidhar: ...
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r-- | hosts/vidhar/default.nix | 5 |
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 | ||