This commit is contained in:
mwiegand 2021-08-16 18:06:58 +02:00
parent cf1079d368
commit 2d83675c64
3 changed files with 5 additions and 1 deletions

View file

@ -14,6 +14,7 @@ http {
sendfile on; sendfile on;
server_names_hash_bucket_size 128; server_names_hash_bucket_size 128;
tcp_nopush on; tcp_nopush on;
client_max_body_size 32G;
% if node.has_bundle('php'): % if node.has_bundle('php'):
upstream php-handler { upstream php-handler {

View file

@ -2,7 +2,7 @@ version = node.metadata.get('php/version')
php_ini_context = { php_ini_context = {
'num_cpus': node.metadata.get('vm/cores'), 'num_cpus': node.metadata.get('vm/cores'),
'post_max_size': node.metadata.get('php/post_max_size', '32G'), 'post_max_size': node.metadata.get('php/post_max_size'),
} }
files = { files = {

View file

@ -1,4 +1,7 @@
defaults = { defaults = {
'php': {
'post_max_size': '32G',
},
'apt': { 'apt': {
'packages': { 'packages': {
'php': {}, 'php': {},