[oe-commits] [meta-openembedded] 19/48: nginx: set sane defaults for temp directories
git at git.openembedded.org
git at git.openembedded.org
Thu Mar 30 09:50:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit ae26da72bb5cb25e8599be4600b5b3915f5fa06e
Author: Pascal Bach <pascal.bach at siemens.com>
AuthorDate: Tue Mar 21 10:42:50 2017 +0100
nginx: set sane defaults for temp directories
Currently the build directiories en up in /usr/*_temp which is not what most
users will expect. This changes the default location to /tmp/nginx/*_tmp.
The location can still be overridden in the nginx.conf file.
Signed-off-by: Pascal Bach <pascal.bach at siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-webserver/recipes-httpd/nginx/nginx.inc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc
index e4e5f63..7f83937 100644
--- a/meta-webserver/recipes-httpd/nginx/nginx.inc
+++ b/meta-webserver/recipes-httpd/nginx/nginx.inc
@@ -63,6 +63,11 @@ do_configure () {
--conf-path=${sysconfdir}/nginx/nginx.conf \
--http-log-path=${localstatedir}/log/nginx/access.log \
--error-log-path=${localstatedir}/log/nginx/error.log \
+ --http-client-body-temp-path=/run/nginx/client_body_temp \
+ --http-proxy-temp-path=/run/nginx/proxy_temp \
+ --http-fastcgi-temp-path=/run/nginx/fastcgi_temp \
+ --http-uwsgi-temp-path=/run/nginx/uwsgi_temp \
+ --http-scgi-temp-path=/run/nginx/scgi_temp \
--pid-path=/run/nginx/nginx.pid \
--prefix=${prefix} \
--with-http_ssl_module \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list