docker-nginx-basic-auth
docker-nginx-basic-auth copied to clipboard
Fix signal propagation by replacing init shell with nginx
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.