about summary refs log tree commit diff
path: root/templates/nginx.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/nginx.conf.j2')
-rw-r--r--templates/nginx.conf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2
index a72c6cc..724bf32 100644
--- a/templates/nginx.conf.j2
+++ b/templates/nginx.conf.j2
@@ -30,6 +30,10 @@ server {
     proxy_set_header Upgrade $http_upgrade;
     proxy_set_header Connection "Upgrade";
 {% endif %}
+
+{% if server.client_body_size is defined%}
+    client_max_body_size {{ server.client_body_size }};
+{% endif %}
 {% endif %}
   }