Add client_max_body_size for Nextcloud
This commit is contained in:
parent
cab6ab2d8e
commit
4f4a341b05
@ -26,6 +26,9 @@ server {
|
|||||||
{% else %}
|
{% else %}
|
||||||
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
|
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
|
||||||
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;
|
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 %}
|
{% endif %}
|
||||||
location / {
|
location / {
|
||||||
{% if item.restrict is defined and item.restrict %}
|
{% if item.restrict is defined and item.restrict %}
|
||||||
|
Loading…
Reference in New Issue
Block a user