Use the custom files method for client size

This commit is contained in:
Luke Murphy
2020-03-26 23:17:17 +01:00
parent b619d78154
commit fc4f81cf5c
5 changed files with 20 additions and 174 deletions

View File

@ -44,3 +44,20 @@
mappings:
- "https:443:{{ http_port }}"
state: present
- name: Create Nginx customisation directory
file:
path: /home/dokku/minio/nginx.conf.d/
state: directory
owner: dokku
group: dokku
with_items:
become: true
- name: Copy over the Nginx custom upload file
template:
src: upload.conf.j2
dest: /home/dokku/minio/nginx.conf.d/upload.conf
owner: dokku
group: dokku
become: true

View File

@ -0,0 +1 @@
client_max_body_size {{ nginx_max_body_size }};

View File

@ -1,4 +1,5 @@
---
domain: "minio.autonomic.zone"
autonomic_admin_mail: "helo@autonomic.zone"
domain: "minio.autonomic.zone"
http_port: "9000"
nginx_max_body_size: "100m"