diff --git a/roles/proxy/templates/server-nginx.conf.j2 b/roles/proxy/templates/server-nginx.conf.j2 index fefaaa6..2bf74bb 100644 --- a/roles/proxy/templates/server-nginx.conf.j2 +++ b/roles/proxy/templates/server-nginx.conf.j2 @@ -26,6 +26,9 @@ server { {% else %} ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt; ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key; +{% endif %} +{% if item.client_max_body_size is defined %} + client_max_body_size {{ item.client_max_body_size }}; {% endif %} location / { {% if item.restrict is defined and item.restrict %}