Skip to content

Commit

Permalink
Merge pull request #730 from Automattic/update/limits
Browse files Browse the repository at this point in the history
fix: update upload limits to match production
  • Loading branch information
sjinks authored May 9, 2024
2 parents 417bd58 + fb67b03 commit 939b55a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ server {
#ssl_verify_client off;

port_in_redirect off;
client_max_body_size 2G;
client_max_body_size 5248M;
client_body_timeout 300;
fastcgi_read_timeout 300;

Expand Down
10 changes: 5 additions & 5 deletions php-fpm/rootfs-php/fpm/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ xdebug.profiler_enable_trigger = 1

; Globals
expose_php = on
max_execution_time = 90
max_input_time = 900
max_execution_time = 1200
max_input_time = 1200
max_input_vars = 10000
memory_limit = 512M
upload_max_filesize = 100M
post_max_size = 100M
memory_limit = 768M
upload_max_filesize = 5120M
post_max_size = 5248M
error_reporting = E_ALL & ~E_DEPRECATED
ignore_repeated_errors = on
html_errors = off
Expand Down

0 comments on commit 939b55a

Please sign in to comment.