From 0687b4a8848f70c03df20e5e338b448383122d14 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 1 Apr 2021 20:57:23 +0200 Subject: [PATCH] Fix #125 --- conf/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index ae95ddf..eb8be2b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,6 +9,9 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } + # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file + client_max_body_size 50M; + proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;