From c9b9af7968aacc20831fb2f73b1c9199b5947333 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 27 Apr 2020 20:18:07 +0200 Subject: [PATCH] php-fpm: add a default for listen_backlog. --- templates/php-fpm-pool.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/php-fpm-pool.conf.j2 b/templates/php-fpm-pool.conf.j2 index f0123ed..a5b921c 100644 --- a/templates/php-fpm-pool.conf.j2 +++ b/templates/php-fpm-pool.conf.j2 @@ -13,7 +13,7 @@ listen = {{ item.listen | default ('127.0.0.1:9000') }} ; Set listen(2) backlog. A value of '-1' means unlimited. ; Default Value: -1 -listen.backlog = {{ item.listen_backlog }} +listen.backlog = {{ item.listen_backlog | default(phpfpm_default_listen_backlog) }} ; List of ipv4 addresses of FastCGI clients which are allowed to connect. ; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original