This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

2configs.nginx: move temp dirs out of /tmp

nixpkgs nginx is compiled with /tmp/nginx_* as temp paths. Combined
with systemd PrivateTmp, host-side cleanup of /tmp can leave nginx
with missing temp dirs after restart, breaking large POSTs (e.g.
matrix /keys/upload) and federation PUTs. Move to /var/cache/nginx,
which is auto-created via the systemd unit's CacheDirectory=nginx.

Assisted-by: Claude Code (claude-opus-4-7)

+10
+10
2configs/nginx.nix
··· 14 14 15 15 enableReload = true; 16 16 17 + # avoid nixpkgs nginx's /tmp/nginx_* compile-time defaults: under 18 + # systemd PrivateTmp they don't survive a host `rm -rf /tmp/*`. 19 + appendHttpConfig = '' 20 + client_body_temp_path /var/cache/nginx/client_body; 21 + proxy_temp_path /var/cache/nginx/proxy; 22 + fastcgi_temp_path /var/cache/nginx/fastcgi; 23 + uwsgi_temp_path /var/cache/nginx/uwsgi; 24 + scgi_temp_path /var/cache/nginx/scgi; 25 + ''; 26 + 17 27 virtualHosts.default = { 18 28 default = true; 19 29 locations."/".extraConfig = ''