Skip to content

Commit

Permalink
Merge pull request #700 from humanmade/backport-698-to-v19-branch
Browse files Browse the repository at this point in the history
[Backport v19-branch] Updates nginx to `3.5.8` and disables rate limiting
  • Loading branch information
wisyhambolu authored Jun 14, 2024
2 parents 60173b0 + 6a07fed commit 07a3615
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 @@ -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',
Expand Down Expand Up @@ -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',
],
],
];
Expand Down

0 comments on commit 07a3615

Please sign in to comment.