diff options
author | Alexander Bantyev <balsoft@balsoft.ru> | 2022-11-27 18:51:09 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 18:51:09 +0400 |
commit | df85dda331359fa8d8dd824195c48ac7432e24dd (patch) | |
tree | 74e1d20c7bb258d055c7ca208dfcc4891e93dbfc /pkgs/servers/http | |
parent | 48769accd497d02590685d7054c660ce60693497 (diff) | |
parent | c09fd120cc056a324559aa8fcc9184968c9d0713 (diff) |
Merge pull request #198314 from Izorkin/update-nginx-cache
nixos/nginx: add proxyCache options
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 [ |