Unknown error when uploading media

To be completed by the original poster:

CMS Version

4.4.4 Docker

Player Type

Windows

Player Version

407.2

Issue

Since upgrading my docker CMS to 4.4.4 from 4.1.1, I’ve been getting error when uploading media files. I attempted rolling back to 4.4.3 but the error persists.

I found the issue. Recently I had to enable HTTPS on the site using NGINX. NGINX was blocking uploads over a very small size, around 2mb. I added the line ‘client_max_body_size 2g;’ to the default site in /etc/nginx/sites-available in the server block and it resolved the issue.

Example:
server{
listen 443 ssl http2;

server_name  example.com;
client_max_body_size 2g;
}