Set Nginx tweaks according to Minio docs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy 2020-04-07 09:31:09 +02:00
parent 995d3a8829
commit 1a0de16a91
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
6 changed files with 10 additions and 5 deletions

View File

@ -55,14 +55,18 @@
- name: Copy over the Nginx custom upload file
template:
src: upload.conf.j2
dest: /home/dokku/minio/nginx.conf.d/upload.conf
src: "{{ item }}"
dest: "/home/dokku/minio/nginx.conf.d/{{ item }}"
owner: dokku
group: dokku
with_items:
- upload.conf
- proxy.conf
- headers.conf
become: true
- name: Restart Nginx to set upload configuration
become: true
service:
name: nginx
state: restarted
state: reloaded

View File

@ -0,0 +1 @@
ignore_invalid_headers off;

View File

@ -0,0 +1 @@
proxy_buffering off;

View File

@ -0,0 +1 @@
client_max_body_size 0;

View File

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

View File

@ -2,4 +2,3 @@
autonomic_admin_mail: "helo@autonomic.zone"
domain: "minio.autonomic.zone"
http_port: "9000"
nginx_max_body_size: "3000m"