|
|
@@ -0,0 +1,17 @@
|
|
|
+/workspace/containers/{{containerName}}/log/*.log
|
|
|
+/workspace/containers/{{containerName}}/log/proginn_cache/Logs/*.log
|
|
|
+/workspace/containers/{{containerName}}/log/logs/*.log {
|
|
|
+ su root www-data
|
|
|
+ daily
|
|
|
+ missingok
|
|
|
+ rotate 5
|
|
|
+ dateext
|
|
|
+ copytruncate
|
|
|
+ compress
|
|
|
+ delaycompress
|
|
|
+ notifempty
|
|
|
+ create 666 www-data www-data
|
|
|
+ postrotate
|
|
|
+ docker exec {{containerName}} nginx -s reload
|
|
|
+ endscript
|
|
|
+}
|