Fix signal propagation by replacing init shell with nginx by uniquenode · Pull Request #30 · beevelop/docker-nginx-basic-auth

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

beevelop merged 1 commit intobeevelop:latestfrom

uniquenode:latest

Jan 4, 2023

Conversation

@uniquenode

Copy link

Contributor

Signals like SIGINT are sent to the init process. Currently these signals are not propagated to the nginx process, inhibiting a graceful shutdown. This PR fixes that by replacing the init shell with the nginx process, so that signals are sent to the nginx process instead.

Signed-off-by: Chris Lahaye <mail@chrislahaye.com>

@beevelop beevelop merged commit 6afb1b8 into beevelop:latest

Jan 4, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@beevelop beevelop beevelop approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@uniquenode @beevelop