JGoutin / ansible_home

A collection of Ansible roles for home free software self-hosting.
https://galaxy.ansible.com/jgoutin/home
GNU General Public License v3.0
31 stars 6 forks source link

nginx: Add client_max_body_size parameter #56

Closed JGoutin closed 1 year ago

JGoutin commented 1 year ago

Allow to set the client_max_body_size setting (Default to 1MB) in the Nginx role.

In the Nextcloud role, use the Nginx role setting instead of setting it in the template.

REF: https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size