From ecbcb322f81382cb8d6ea0be7fad0fd7f7f7682b Mon Sep 17 00:00:00 2001 From: canove Date: Fri, 9 Oct 2020 17:33:19 -0300 Subject: [PATCH] chore: update README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 81832ab..91ab84d 100644 --- a/README.md +++ b/README.md @@ -342,6 +342,17 @@ sudo ln -s /etc/nginx/sites-available/whaticket-frontend /etc/nginx/sites-enable sudo ln -s /etc/nginx/sites-available/whaticket-backend /etc/nginx/sites-enabled ``` +By default, nginx limit body size to 1MB, what isn't enough to some media uploads. Lets change it to 20MB adding a new line to config file: + +```bash +sudo nano /etc/nginx/nginx.conf +... +http { + ... + client_max_body_size 20M; # HANDLE BIGGER UPLOADS +} +``` + Test nginx configuration and restart server: ```bash