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:
|
volumes:
|
||||||
- rkm_storage:/var/www/storage
|
- rkm_storage:/var/www/storage
|
||||||
- rkm_bootstrap_cache:/var/www/bootstrap/cache
|
- rkm_bootstrap_cache:/var/www/bootstrap/cache
|
||||||
|
- ./docker/php/local.ini:/usr/local/etc/php/conf.d/local.ini:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ server {
|
|||||||
root /var/www/public;
|
root /var/www/public;
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
client_max_body_size 40M;
|
client_max_body_size 500M;
|
||||||
|
|
||||||
# Security Headers
|
# Security Headers
|
||||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
upload_max_filesize = 40M
|
upload_max_filesize = 500M
|
||||||
post_max_size = 40M
|
post_max_size = 500M
|
||||||
memory_limit = 512M
|
memory_limit = 1024M
|
||||||
max_execution_time = 300
|
max_execution_time = 600
|
||||||
max_input_time = 300
|
max_input_time = 600
|
||||||
date.timezone = Asia/Jakarta
|
date.timezone = Asia/Jakarta
|
||||||
expose_php = Off
|
expose_php = Off
|
||||||
|
|||||||
Reference in New Issue
Block a user