Raise all file upload limits to 50MB across the stack

PHP (docker/php.ini via conf.d — loaded automatically, no -c flag needed):
  upload_max_filesize 2M -> 50M
  post_max_size       8M -> 55M

Nginx: client_max_body_size 25M -> 55M

Livewire (config/livewire.php published):
  temporary_file_upload rules max 12MB -> 50MB (max:51200)

Laravel validation rules (all in KB):
  profile photo:        5120 (5MB)  -> 51200 (50MB)
  posts image:          5120 (5MB)  -> 51200 (50MB)
  anuncios image:       5120 (5MB)  -> 51200 (50MB)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-09 08:12:33 -06:00
parent 56f4e3b226
commit 9851c887ec
8 changed files with 198 additions and 8 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ RUN mkdir -p storage/framework/{sessions,views,cache} \
RUN php artisan storage:link
RUN printf "upload_max_filesize=20M\npost_max_size=25M\n" > /app/php.ini
COPY docker/php.ini /usr/local/etc/php/conf.d/uploads.ini
COPY nginx.conf /etc/nginx/nginx.conf
COPY supervisord.conf /etc/supervisord.conf