How to resolve An unknown error has occurred while uploading files to Nextcloud?

Reading Time: < 1 minute

I faced problem like below when I upload file.
An unknown error has occurred

Conclusion is HTTP 413 Request Entity Too Large happened in my environment.

I expanded upload limit size to 128MB.

First is https-portal which acts as reverse proxy.
You only need to insert this line.


Next is configuraiton of Nginx.
You need to add this line to server block.

client_max_body_size 128M;

After editing them, you need to restart each Nginx!


How was it?

You can do it in 5 mins!


Copied title and URL