Merge branch 'main' into stable
This commit is contained in:
commit
6a1895d48e
2 changed files with 7 additions and 2 deletions
|
@ -51,6 +51,11 @@ define sunetdrive::app_type (
|
|||
$site_name = $config['site_name']
|
||||
$trusted_domains = $config['trusted_domains']
|
||||
$trusted_proxies = $config['trusted_proxies']
|
||||
if $location == 'kau-prod' {
|
||||
$php_memory_limit_mb = 2048
|
||||
} else {
|
||||
$php_memory_limit_mb = 512
|
||||
}
|
||||
|
||||
# These are encrypted values from local.eyaml
|
||||
|
||||
|
@ -79,7 +84,7 @@ define sunetdrive::app_type (
|
|||
$drive_email_template_url_left = $config['drive_email_template_url_left']
|
||||
$lb_servers = hiera_hash($environment)['lb_servers']
|
||||
$document_servers = hiera_hash($environment)['document_servers']
|
||||
#Create users
|
||||
|
||||
unless $is_multinode{
|
||||
user { 'www-data': ensure => present, system => true }
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ log_errors_max_len = 1024
|
|||
max_execution_time = 86400
|
||||
max_file_uploads = 20
|
||||
max_input_time = 86400
|
||||
memory_limit = 512M
|
||||
memory_limit = <%= @php_memory_limit_mb %>M
|
||||
output_buffering = Off
|
||||
post_max_size = 30G
|
||||
precision = 14
|
||||
|
|
Loading…
Add table
Reference in a new issue