diff --git a/inc/composer/class-docker-compose-generator.php b/inc/composer/class-docker-compose-generator.php index 2c6fbe3a..5d311ee7 100644 --- a/inc/composer/class-docker-compose-generator.php +++ b/inc/composer/class-docker-compose-generator.php @@ -308,7 +308,7 @@ protected function get_service_nginx() : array { return [ 'nginx' => [ - 'image' => 'humanmade/altis-local-server-nginx:3.5.4', + 'image' => 'humanmade/altis-local-server-nginx:3.5.8', 'container_name' => "{$this->project_name}-nginx", 'networks' => [ 'proxy', @@ -337,6 +337,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', ], ], ];