Commit Graph

9 Commits

Author SHA1 Message Date
fernando e39d666d8b Fix nginx fastcgi_pass IPv6 a IPv4 para PHP-FPM 2026-05-11 18:07:12 -06:00
fernando 89d7959f25 Modificación de fast cgi 2026-05-11 10:58:51 -06:00
fernando 3fe47d5b1d Modificación directa a php comandos para incremento de memoria de subida de archivos 2026-05-11 02:33:52 -06:00
fernando 9851c887ec 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>
2026-05-09 08:12:33 -06:00
fernando ff5b6f5eec Fix file upload limit over 2MB in production with HTTPS
- Use printf instead of echo to correctly write php.ini with newlines
  (Alpine ash echo does not interpret \n, leaving the file malformed
  and PHP falling back to its 2MB default)
- Add nginx.conf with client_max_body_size 25M as front-end proxy
- Start nginx on port 8080 via supervisord; move artisan serve to
  internal port 8081 so nginx can proxy requests with proper limits

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 07:41:52 -06:00
Fernando dc7799474a Delete nginx.conf 2026-05-02 19:06:09 -06:00
Fernando 543675adfb segundo commit para deploy nginx 2026-05-02 18:35:59 -06:00
Fernando 5d16da08f8 Refactor nginx.conf for cleaner configuration 2026-05-02 18:01:34 -06:00
fernando 881e67fb12 archivo de configuracion de nginx agregado para el puerto 9000 2026-05-02 16:57:29 -06:00