mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 08:09:18 +02:00
fix: increase PHP upload limits to support large video files
Raised upload_max_filesize from 512M to 8192M (8G) and post_max_size from 520M to 8704M to match the JS-side per-extension size caps that allow up to 8GB for video files (mp4, webm, mov, etc.). Also raised memory_limit to 512M and max_input_time to 600s.
This commit is contained in:
6
TODO.md
6
TODO.md
@@ -1,7 +1,7 @@
|
|||||||
# TODO
|
# TODO
|
||||||
|
|
||||||
> Last updated: 2026-06-15
|
> Last updated: 2026-06-15
|
||||||
> Context: Fix FilePond CSRF token staleness caused by autosave token rotation
|
> Context: Fix FilePond CSRF + adminOld return type; restore soft-deleted anglais/néerlandais languages
|
||||||
|
|
||||||
## Pending
|
## Pending
|
||||||
|
|
||||||
@@ -12,7 +12,9 @@
|
|||||||
|
|
||||||
## Completed
|
## Completed
|
||||||
|
|
||||||
- [x] #filepond-csrf-stale Fix FilePond CSRF token going stale when autosave rotates it — headers are now functions that re-read meta tag on each request `(file-upload-filepond.js)` ✓
|
- [x] #filepond-csrf-stale Fix FilePond CSRF token going stale when autosave rotates it `(file-upload-filepond.js)` ✓
|
||||||
|
- [x] #adminold-return-type Fix adminOld closure return type from `:string` to `:string|array` `(FormBootstrap.php)` ✓
|
||||||
|
- [x] #restore-languages Un-soft-delete anglais (id=2) and néerlandais (id=71) in dev DB ✓
|
||||||
|
|
||||||
- [x] #csp-media-iframe-fix Fix CSP `frame-ancestors 'none'` blocking PDF iframes — replaced `try_files` redirect with direct `fastcgi_pass` in `location = /media` so `add_header` CSP override survives internal nginx redirect `(nginx/xamxam.conf)` ✓
|
- [x] #csp-media-iframe-fix Fix CSP `frame-ancestors 'none'` blocking PDF iframes — replaced `try_files` redirect with direct `fastcgi_pass` in `location = /media` so `add_header` CSP override survives internal nginx redirect `(nginx/xamxam.conf)` ✓
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
; PHP upload limits — applies when served via PHP-FPM (nginx)
|
; PHP upload limits — applies when served via PHP-FPM (nginx)
|
||||||
upload_max_filesize = 512M
|
upload_max_filesize = 8192M
|
||||||
post_max_size = 520M
|
post_max_size = 8704M
|
||||||
memory_limit = 256M
|
memory_limit = 512M
|
||||||
max_execution_time = 300
|
max_execution_time = 300
|
||||||
max_input_time = 300
|
max_input_time = 600
|
||||||
|
|||||||
Reference in New Issue
Block a user