[mod] role:owncloud:Variable für Hinauflad-Größen-Grenzen
This commit is contained in:
parent
9831e1a8e4
commit
9b0535e39a
3 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
"var_owncloud_and_nginx_domain": "owncloud.example.org",
|
"var_owncloud_and_nginx_domain": "owncloud.example.org",
|
||||||
"var_owncloud_and_nginx_tls_mode": "force"
|
"var_owncloud_and_nginx_tls_mode": "force",
|
||||||
|
"var_owncloud_and_nginx_maximum_upload_size": "1G"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% macro owncloud_common() %}
|
{% macro owncloud_common() %}
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:9200;
|
proxy_pass http://localhost:9200;
|
||||||
client_max_body_size 1G;
|
client_max_body_size {{var_owncloud_and_nginx_maximum_upload_size}};
|
||||||
}
|
}
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
|
|
@ -12,5 +12,9 @@
|
||||||
"force"
|
"force"
|
||||||
],
|
],
|
||||||
"mandatory": false
|
"mandatory": false
|
||||||
|
},
|
||||||
|
"maximum_upload_size": {
|
||||||
|
"type": "string",
|
||||||
|
"mandatory": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue