Maximum size video upload

I am using Mattermost for a long time now but recently I have found that video attachements cause a error message “There was a problem uploading your files”.
The max size is set to 20000MB in the System Console.
The video I was uploading was 840MB m4v
Where do I configure the nginx proxy to accept larger uploads?
I have 16GB RAM available on the server and 2TB storage.
Thank you if you can help with this issue.

Try to change client_max_body_size values in ligne 3 and 19 in mattermost NGINX conf:
(Mattermost service may need to be restarted : webadmin → sevices → Mattermost)

Thank you merci @ericg ! I set the client_max_body_size in mattermost.conf as you suggested. I did it in two mattermost.conf files though and not line 19 but 13(?): one is in /etc/nginx/conf.d/ the other one in /etc/nginx/conf.d/
I don’t know why there are two of them. Mattermost is installed in mattermost_domain
which is my own named domain.
Marked as solved.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.