Update permission of nginx log files.
authorGuo Xiang Tan <tgx_world@hotmail.com>
Sun, 3 Dec 2017 15:17:17 +0000 (23:17 +0800)
committerGuo Xiang Tan <tgx_world@hotmail.com>
Sun, 3 Dec 2017 15:17:39 +0000 (23:17 +0800)
templates/web.template.yml

index a02039baa70bf5b7313861676383152f2c24234c..fffea3471330910fe2ef55990954ea5b75009f2c 100644 (file)
@@ -62,7 +62,7 @@ run:
 
         # find DISCOURSE_ env vars, strip the leader, lowercase the key
         /usr/local/bin/ruby -e 'ENV.each{|k,v| puts "#{$1.downcase} = #{v}" if k =~ /^DISCOURSE_(.*)/}' > $conf
-        
+
   - file:
      path: /etc/runit/1.d/enable-brotli
      chmod: "+x"
@@ -235,7 +235,7 @@ run:
           compress
           delaycompress
           notifempty
-          create 0640 www-data www-data
+          create 0644 www-data www-data
           sharedscripts
           postrotate
             sv 1 nginx