nginx-proxy / nginx-proxy/nginx-proxy

Logrotate

Open
#1,455 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
19.9k
Forks
3k
Avg merge
2d 11h
Merged PRs (30d)
1

Description

Features Requests

Is that possible to add an environnement variable to enable logrotate ?
I see defaults config files are already present in /etc/logrotate.d

Of course I can create another container to do that, but in this case I need the docker socket to send USR1 to nginx (https://nginx.org/en/docs/control.html). What's your opinion ?

Azlux

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the default configuration files already present in /etc/logrotate.d and the nginx control documentation linked in the issue. Then determine how an environment variable could enable log rotation without requiring a separate container or Docker socket; done means the requested behavior is defined and verified for this image.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, nginx
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.