Hello,
We operate a production-critical file-sharing website on Panelica.
Large file uploads failed because the upload limits were inconsistent across the Panelica-managed stack:
- Nginx client_max_body_size: 128 MB
- PHP-FPM upload_max_filesize: 128 MB
- PHP-FPM post_max_size: 160 MB
- ModSecurity SecRequestBodyLimit: 13,107,200 bytes (~12.5 MB)
The ModSecurity limit caused multipart uploads larger than approximately 12.5 MB to be rejected before PHP processed them. Apache logged:
ModSecurity: Request body (Content-Length) is larger than the configured limit (13107200).
ModSecurity: Multipart parsing error: Multipart: Final boundary missing.
We corrected the domain to support these limits:
Nginx client_max_body_size: 1100M
PHP upload_max_filesize: 1024M
PHP post_max_size: 1100M
ModSecurity SecRequestBodyLimit: 1153433600 bytes
Please investigate and provide a durable Panelica-supported way to preserve these per-domain settings across Panelica upgrades, domain rebuilds, and control-panel saves. Specifically:
1. Expose and preserve a per-domain ModSecurity request-body limit.
2. Ensure domain PHP-FPM, Nginx, and ModSecurity upload limits can be set together or validated for consistency.
3. Avoid regenerating a working domain with lower default limits.
4. Provide a post-update hook or configuration-management mechanism for domain-specific limits.
5. Confirm whether any recent Panelica update or regeneration could have reset these values.
This website is business-critical, so we need assurance that a Panelica update cannot silently restore lower limits.
Thank you.
We operate a production-critical file-sharing website on Panelica.
Large file uploads failed because the upload limits were inconsistent across the Panelica-managed stack:
- Nginx client_max_body_size: 128 MB
- PHP-FPM upload_max_filesize: 128 MB
- PHP-FPM post_max_size: 160 MB
- ModSecurity SecRequestBodyLimit: 13,107,200 bytes (~12.5 MB)
The ModSecurity limit caused multipart uploads larger than approximately 12.5 MB to be rejected before PHP processed them. Apache logged:
ModSecurity: Request body (Content-Length) is larger than the configured limit (13107200).
ModSecurity: Multipart parsing error: Multipart: Final boundary missing.
We corrected the domain to support these limits:
Nginx client_max_body_size: 1100M
PHP upload_max_filesize: 1024M
PHP post_max_size: 1100M
ModSecurity SecRequestBodyLimit: 1153433600 bytes
Please investigate and provide a durable Panelica-supported way to preserve these per-domain settings across Panelica upgrades, domain rebuilds, and control-panel saves. Specifically:
1. Expose and preserve a per-domain ModSecurity request-body limit.
2. Ensure domain PHP-FPM, Nginx, and ModSecurity upload limits can be set together or validated for consistency.
3. Avoid regenerating a working domain with lower default limits.
4. Provide a post-update hook or configuration-management mechanism for domain-specific limits.
5. Confirm whether any recent Panelica update or regeneration could have reset these values.
This website is business-critical, so we need assurance that a Panelica update cannot silently restore lower limits.
Thank you.