diff --git a/inc/composer/class-docker-compose-generator.php b/inc/composer/class-docker-compose-generator.php index 0ecf5d9d..b31e7e53 100644 --- a/inc/composer/class-docker-compose-generator.php +++ b/inc/composer/class-docker-compose-generator.php @@ -306,7 +306,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', @@ -335,6 +335,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', ], ], ];