diff --git a/deploy/docker.proxy.template b/deploy/docker.proxy.template
index 812027bfa3b1574e41eaba7ec2a1a2110e0c476e..c4f89057defa8b4142d73dd737e80b238259819a 100644
--- a/deploy/docker.proxy.template
+++ b/deploy/docker.proxy.template
@@ -65,6 +65,7 @@ server {
 
     location / {
         include /etc/nginx/funkwhale_proxy.conf;
+        client_max_body_size ${NGINX_MAX_BODY_SIZE};
         proxy_pass   http://fw/;
     }
 }