Upload failed request entity too large - Troubleshooting Nextcloud
"Upload failed request entity too large"
If you have a proxy, go into the config file and change the "client_max_body_size" line. If that line isn't there, add it under the http section.
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
client_max_body_size 1000M; #(right here)
sendfile on;
tcp_nopush on;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
I didn't have a line at all so I just put it in there.
No Comments