From c43987faf488e22a0f3a3c4c7bbc1a0dd9afca9a Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 6 Oct 2022 15:33:02 -0700 Subject: [PATCH] Allowing massive files to be uploaded to files.leftcoast.space --- playbooks/alpha/nginx/files.leftcoast.space | 2 +- playbooks/alpha/nginx/main.yml | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/playbooks/alpha/nginx/files.leftcoast.space b/playbooks/alpha/nginx/files.leftcoast.space index e5f4dd3..60c3e42 100644 --- a/playbooks/alpha/nginx/files.leftcoast.space +++ b/playbooks/alpha/nginx/files.leftcoast.space @@ -8,7 +8,7 @@ server { proxy_pass http://127.0.0.1:8000; } # Because we take large video/image file uploads - client_max_body_size 100M; + client_max_body_size 0; } diff --git a/playbooks/alpha/nginx/main.yml b/playbooks/alpha/nginx/main.yml index 2484c7b..1b4af10 100644 --- a/playbooks/alpha/nginx/main.yml +++ b/playbooks/alpha/nginx/main.yml @@ -6,17 +6,6 @@ - hosts: alpha become: yes tasks: - - name: Install Nginx - apt: - name: nginx - update_cache: yes - state: present - - - name: Update Snap - community.general.snap: - name: core - state: present - - name: Install Certbot community.general.snap: name: certbot