Skip to content

Commit

Permalink
Merge pull request #702 from humanmade/backport-698-to-v16-branch
Browse files Browse the repository at this point in the history
[Backport v16-branch] Updates nginx to `3.5.8` and disables rate limiting
  • Loading branch information
wisyhambolu authored Jun 14, 2024
2 parents fed0700 + 3842592 commit 964fef5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inc/composer/class-docker-compose-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
],
],
];
Expand Down

0 comments on commit 964fef5

Please sign in to comment.