[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: nginx: bayfront: Add a '_temp_path' options.
From: |
Ludovic Courtès |
Subject: |
01/01: nginx: bayfront: Add a '_temp_path' options. |
Date: |
Sat, 3 Dec 2016 21:21:52 +0000 (UTC) |
civodul pushed a commit to branch master
in repository maintenance.
commit e3ba3afcb21a95f534857dd2e6b0001a66fb5c7d
Author: Ludovic Courtès <address@hidden>
Date: Sat Dec 3 22:21:18 2016 +0100
nginx: bayfront: Add a '_temp_path' options.
---
hydra/nginx/bayfront.conf | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/hydra/nginx/bayfront.conf b/hydra/nginx/bayfront.conf
index d705b28..d9efedd 100644
--- a/hydra/nginx/bayfront.conf
+++ b/hydra/nginx/bayfront.conf
@@ -16,6 +16,14 @@ http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
+ # We need to specify all these or nginx picks its own directory to
+ # store them, which doesn't work because the store is read-only.
+ client_body_temp_path /var/run/nginx/body;
+ proxy_temp_path /var/run/nginx/proxy;
+ fastcgi_temp_path /var/run/nginx/fastcgi;
+ uwsgi_temp_path /var/run/nginx/uwsgi;
+ scgi_temp_path /var/run/nginx/scgi;
+
access_log /var/log/nginx/access.log;
sendfile on;