From 3842592536c2749664a4c224ffd44561ac752096 Mon Sep 17 00:00:00 2001 From: Wisdom Hambolu Date: Fri, 14 Jun 2024 14:24:27 +0100 Subject: [PATCH] Updates nginx to 3.5.8 --- inc/composer/class-docker-compose-generator.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inc/composer/class-docker-compose-generator.php b/inc/composer/class-docker-compose-generator.php index e7dae414..aa256daa 100644 --- a/inc/composer/class-docker-compose-generator.php +++ b/inc/composer/class-docker-compose-generator.php @@ -300,7 +300,7 @@ protected function get_service_nginx() : array { return [ 'nginx' => [ - 'image' => 'humanmade/altis-local-server-nginx:3.5.2', + 'image' => 'humanmade/altis-local-server-nginx:3.5.8', 'container_name' => "{$this->project_name}-nginx", 'networks' => [ 'proxy', @@ -329,6 +329,8 @@ protected function get_service_nginx() : array { 'GZIP_STATUS' => 'on', // Increase read response timeout when debugging. 'READ_TIMEOUT' => ( $this->args['xdebug'] ?? 'off' ) !== 'off' ? '9000s' : '60s', + // Disables rate limiting. + 'PHP_PUBLIC_POOL_ENABLE_RATE_LIMIT' => 'false', ], ], ];