From 09d3dbc2a2a8a4d56ba3abb794772c49ac0ccf92 Mon Sep 17 00:00:00 2001 From: vadik likholetov Date: Mon, 11 Dec 2023 18:49:27 +0200 Subject: [PATCH] Fix max upload size for nginx --- nginx/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index cc8d1fe..31cb7cc 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -16,6 +16,7 @@ http { listen 80; listen [::]:80; # server_name yourdomain.com www.yourdomain.com; + client_max_body_size 200M; # Redirect all HTTP requests to HTTPS return 301 https://$host$request_uri; @@ -27,6 +28,7 @@ http { listen [::]:443 ssl; # server_name yourdomain.com www.yourdomain.com; + client_max_body_size 200M; ssl_certificate /certs/cert.pem; ssl_certificate_key /certs/key.pem;