Add support for 'worker-shutdown-timeout'

This commit is contained in:
Max Laverse 2017-08-29 11:49:18 +02:00
parent 7844415cff
commit d9e7d1eabc
4 changed files with 11 additions and 2 deletions

View file

@ -16,7 +16,7 @@ worker_rlimit_nofile {{ .MaxOpenFiles }};
{{/* http://nginx.org/en/docs/ngx_core_module.html#worker_shutdown_timeout */}}
{{/* avoid waiting too long during a reload */}}
worker_shutdown_timeout 10s;
worker_shutdown_timeout {{ $cfg.WorkerShutdownTimeout }} ;
events {
multi_accept on;