All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Steven Sting Reviewed-on: #44 Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
11 lines
481 B
Cheetah
11 lines
481 B
Cheetah
{{ $upload_max_size := "256M" }}
|
|
{{ if ne (env "UPLOAD_MAX_SIZE") "" }} {{ $upload_max_size = env "UPLOAD_MAX_SIZE" }} {{ end }}
|
|
{{ $upload_max_time := "30" }}
|
|
{{ if ne (env "UPLOAD_MAX_TIME") "" }} {{ $upload_max_time = env "UPLOAD_MAX_TIME" }} {{ end }}
|
|
|
|
file_uploads = On
|
|
upload_max_filesize = {{ $upload_max_size }}
|
|
post_max_size = {{ $upload_max_size }}
|
|
memory_limit = {{ $upload_max_size }}
|
|
max_execution_time = {{ $upload_max_time }}
|
|
max_input_time = {{ $upload_max_time }} |