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', ], ], ];