This is the nginx config I use on my server (not forge, but only significant difference is the user, and sites-enabled include directory..)
user www-data;
worker_processes 4;
worker_rlimit_nofile 8192;
events {
worker_connections 8000;
}
http {
add_header X-Frame-Options SAMEORIGIN;
add_header X-XSS-Protection "1; mode=block";
server_tokens off;
include mime.types;
default_type application/octet-stream;
client_max_body_size 2000M;
client_body_buffer_size 128k;
sendfile on;
tcp_nopush on;
keepalive_timeout 65;
tcp_nodelay on;
gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
gzip_buffers 16 8k;
gzip_comp_level 6;
gzip_http_version 1.1;
gzip_min_length 10;
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_vary on;
gzip_proxied any; # Compression for all requests.
log_format main '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx_access.log main;
error_log /var/log/nginx_error.log debug;
include /opt/nginx/sites-enabled/*;
}
These settings have worked for me for the past 10yrs, no upload issues regardless of filesize, so long as the file is less than whatever size is configured to be allowed by php.. ;)