feat(config): increase upload limits to 500MB in php.ini and nginx for large backup files
This commit is contained in:
@@ -22,6 +22,7 @@ services:
|
||||
volumes:
|
||||
- rkm_storage:/var/www/storage
|
||||
- rkm_bootstrap_cache:/var/www/bootstrap/cache
|
||||
- ./docker/php/local.ini:/usr/local/etc/php/conf.d/local.ini:ro
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
||||
@@ -8,7 +8,7 @@ server {
|
||||
root /var/www/public;
|
||||
index index.php index.html;
|
||||
|
||||
client_max_body_size 40M;
|
||||
client_max_body_size 500M;
|
||||
|
||||
# Security Headers
|
||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
upload_max_filesize = 40M
|
||||
post_max_size = 40M
|
||||
memory_limit = 512M
|
||||
max_execution_time = 300
|
||||
max_input_time = 300
|
||||
upload_max_filesize = 500M
|
||||
post_max_size = 500M
|
||||
memory_limit = 1024M
|
||||
max_execution_time = 600
|
||||
max_input_time = 600
|
||||
date.timezone = Asia/Jakarta
|
||||
expose_php = Off
|
||||
|
||||
Reference in New Issue
Block a user