Add client_max_body_size for Nextcloud

This commit is contained in:
Kris Lamoureux 2022-08-19 01:27:55 -04:00
parent cab6ab2d8e
commit 4f4a341b05
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -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 %}