Logrotate – nginx logs not rotating inside docker container
As stated on the edit on my question the problem was that CMD from nginx:1.11 was only starting the nginx process. A work around is to place the following command on my Dockerfile CMD service cron start && nginx -g ‘daemon off;’ This will start nginx as nginx:1.11 starts it and well as start the … Read more