[download-web/mirrorbits] nginx: Fix permissions errors




commit 58ed01e083cfbd5c446e96d9ec5e4d915a279c90
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Dec 8 17:11:30 2020 +0100

    nginx: Fix permissions errors

 nginx/Dockerfile | 4 ++--
 nginx/nginx.conf | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/nginx/Dockerfile b/nginx/Dockerfile
index ee611de..b890ab1 100644
--- a/nginx/Dockerfile
+++ b/nginx/Dockerfile
@@ -1,8 +1,8 @@
 FROM alpine:3.12
 
 RUN apk add --no-cache nginx nginx-mod-http-fancyindex && \
-    ln -sf /dev/stdout /var/log/nginx/access.log \
-    ln -sf /dev/stderr /var/log/nginx/error.log
+    ln -sf /dev/stdout /var/log/nginx/access.log && \
+    ln -sf /dev/stderr /var/log/nginx/error.log 
 
 ADD nginx.conf /etc/nginx/nginx.conf
 
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 9c2eac5..cc42bb3 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -3,7 +3,7 @@ worker_processes  1;
 error_log  /dev/stderr warn;
 pid        /tmp/nginx.pid;
 
-include /etc/nginx/modules/*.conf;
+load_module /usr/lib/nginx/modules/ngx_http_fancyindex_module.so;
 
 events {
     worker_connections  1024;


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