From 57ec30b9761c22d9ab3a0f3f57f40254de889285 Mon Sep 17 00:00:00 2001 From: ICScaryThings Date: Sun, 17 Jul 2022 19:20:33 -0400 Subject: [PATCH] add this since it was a gotcha for me --- treebird.nginx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/treebird.nginx b/treebird.nginx index 621f151..7dfd0b4 100644 --- a/treebird.nginx +++ b/treebird.nginx @@ -42,6 +42,9 @@ server { ssl_certificate_key /etc/letsencrypt/live/treebird.example.com/privkey.pem; include /etc/letsencrypt/options-ssl-nginx.conf; ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; + + # Set the default upload limit (only 1M if not set!) + client_max_body_size 50M; } server {