tengine: change logs path
This commit is contained in:
parent
1d71150c73
commit
98e0cba469
@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
}) ++ [
|
}) ++ [
|
||||||
./check-resolv-conf.patch
|
./check-resolv-conf.patch
|
||||||
|
../nginx/nix-skip-check-logs-path.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
@ -58,6 +59,14 @@ stdenv.mkDerivation rec {
|
|||||||
"--with-poll_module"
|
"--with-poll_module"
|
||||||
"--with-google_perftools_module"
|
"--with-google_perftools_module"
|
||||||
"--with-jemalloc"
|
"--with-jemalloc"
|
||||||
|
"--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"
|
||||||
] ++ optionals withDebug [
|
] ++ optionals withDebug [
|
||||||
"--with-debug"
|
"--with-debug"
|
||||||
] ++ optionals withMail [
|
] ++ optionals withMail [
|
||||||
|
Loading…
Reference in New Issue
Block a user