From: Guo Xiang Tan Date: Mon, 4 Dec 2017 03:55:37 +0000 (+0800) Subject: Allow nginx folder to be accessible by other services. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c3ded7220d4cafaa667a270a11fc4c222640673b;p=discourse_docker.git Allow nginx folder to be accessible by other services. --- diff --git a/image/base/runit-1.d-00-fix-var-logs b/image/base/runit-1.d-00-fix-var-logs index ecb49d9..8e2e9cd 100755 --- a/image/base/runit-1.d-00-fix-var-logs +++ b/image/base/runit-1.d-00-fix-var-logs @@ -1,6 +1,7 @@ #!/bin/bash mkdir -p /var/log/nginx chown -R www-data:www-data /var/log/nginx +chmod 655 /var/log/nginx chmod -R 644 /var/log/nginx touch /var/log/syslog && chown -f syslog:adm /var/log/syslog* touch /var/log/auth.log && chown -f syslog:adm /var/log/auth.log*