Skip to content
Snippets Groups Projects

promtail: Give access to the logrotated nginx access.log files

The files are initially created by nginx as 0644/http:root, but when logrotate rotates the files it creates the new files as 0640/http:log, which promtail can't read.

Fix the issue by adding the log group as a supplementary group.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading