requireAuth(); ?>
| Setting | Current Value | Recommended | Status |
|---|---|---|---|
| {$key} | {$current} | {$recommended} | {$status} |
| Item | Value |
|---|---|
| PHP Version | |
| Web Server | |
| Server API | |
| Document Root | |
| Max Request Size (calculated) | bytes |
Test different file sizes to identify the exact limit:
Important: The error "client intended to send too large body" indicates an nginx limit.
Check these nginx settings in your server configuration:
client_max_body_size - Default is 1MB, should be higherclient_body_buffer_size - Buffer size for request bodyclient_header_timeout - Timeout for client headersclient_body_timeout - Timeout for client body
server {
listen 80;
server_name samuli.valavuo.net;
root /path/to/website;
index index.php;
# Increase upload limits
client_max_body_size 25M;
client_body_buffer_size 128k;
client_body_timeout 60s;
location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
client_max_body_size 25M; and restart nginx