Skip to content

Commit 1c5190f

Browse files
committed
Use SIGQUIT for container shutdown
1 parent c3827ad commit 1c5190f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,8 @@ ENV WORKER_PROCESSES auto
1313
COPY files/run.sh /
1414
COPY files/nginx.conf.tmpl /
1515

16+
# use SIGQUIT for graceful shutdown
17+
# c.f. http://nginx.org/en/docs/control.html
18+
STOPSIGNAL SIGQUIT
19+
1620
ENTRYPOINT ["/run.sh"]

0 commit comments

Comments
 (0)