[damned-lies/oscp] Fix path to tmp dir



commit 56f79c76e34deadd39d24bafe1b8dca3eeba803d
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Mar 26 14:17:16 2020 +0100

    Fix path to tmp dir

 httpd_min/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/httpd_min/Dockerfile b/httpd_min/Dockerfile
index f9d7e4ac..f4e0c09d 100644
--- a/httpd_min/Dockerfile
+++ b/httpd_min/Dockerfile
@@ -19,8 +19,8 @@ RUN sed -i -e '/listen/!b' -e '/80;/!b' -e 's/80;/8080;/' /etc/nginx/nginx.conf
     && sed -i "/^http {/a \    proxy_temp_path /tmp/proxy_temp;\n    client_body_temp_path 
/tmp/client_temp;\n    fastcgi_temp_path /tmp/fastcgi_temp;\n    uwsgi_temp_path /tmp/uwsgi_temp;\n    
scgi_temp_path /tmp/scgi_temp;\n" /etc/nginx/nginx.conf
 
 # nginx user must own the cache directory to write cache
-RUN chown -R l10n:0 /var/cache/nginx \
-    && chmod -R g+w /var/cache/nginx
+RUN chown -R l10n:0 /var/lib/nginx \
+    && chmod -R g+w /var/lib/nginx
 
 # forward request and error logs to docker log collector
 RUN ln -sf /dev/stdout /var/log/nginx/access.log \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]