diff options
author | Izorkin <izorkin@elven.pw> | 2022-10-28 18:58:48 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2022-10-28 19:01:23 +0300 |
commit | 544c526393f15c946a77ed0f6f11f5d3b90e50b8 (patch) | |
tree | 34618a0c47a890e497be9be40a345e474ff19810 /pkgs/servers/http | |
parent | 4de981408f68879e46d58b6c4a0ee21c11f22136 (diff) |
nginx: change temp path location
Parameters `http-log-path`, `http-client-body-temp-path`, `http-proxy-temp-path`, `http-fastcgi-temp-path`, `http-uwsgi-temp-path` and `http-scgi-temp-path` point to location of nginx temporary files, not cache files. To change specify location of cache files needed use other parameters in nginx.conf configuration file.
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r-- | pkgs/servers/http/nginx/generic.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix index f3c4a31bc8551..c4fe7f8920512 100644 --- a/pkgs/servers/http/nginx/generic.nix +++ b/pkgs/servers/http/nginx/generic.nix @@ -79,11 +79,11 @@ stdenv.mkDerivation { "--http-log-path=/var/log/nginx/access.log" "--error-log-path=/var/log/nginx/error.log" "--pid-path=/var/log/nginx/nginx.pid" - "--http-client-body-temp-path=/var/cache/nginx/client_body" - "--http-proxy-temp-path=/var/cache/nginx/proxy" - "--http-fastcgi-temp-path=/var/cache/nginx/fastcgi" - "--http-uwsgi-temp-path=/var/cache/nginx/uwsgi" - "--http-scgi-temp-path=/var/cache/nginx/scgi" + "--http-client-body-temp-path=/tmp/nginx_client_body" + "--http-proxy-temp-path=/tmp/nginx_proxy" + "--http-fastcgi-temp-path=/tmp/nginx_fastcgi" + "--http-uwsgi-temp-path=/tmp/nginx_uwsgi" + "--http-scgi-temp-path=/tmp/nginx_scgi" ] ++ optionals withDebug [ "--with-debug" ] ++ optionals withKTLS [ |