From 75264581daa7949532e0653b7cdff56a694ffe25 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Fri, 17 May 2019 10:19:22 +0200 Subject: [PATCH] [IMP]Odoo Nginx : increase max body size to 500M --- odoo/nginx/odoo.conf | 2 +- odoo/nginx/odoo.conf.dev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/odoo/nginx/odoo.conf b/odoo/nginx/odoo.conf index 8297cd1..fa7e857 100644 --- a/odoo/nginx/odoo.conf +++ b/odoo/nginx/odoo.conf @@ -15,7 +15,7 @@ server { server { listen ${NGINX_SSL_PORT} ssl; server_name ${SERVER_NAMES}; - client_max_body_size 200M; + client_max_body_size 500M; gzip on; gzip_min_length 512; gzip_buffers 4 32k; diff --git a/odoo/nginx/odoo.conf.dev b/odoo/nginx/odoo.conf.dev index 32297a2..1d995b5 100644 --- a/odoo/nginx/odoo.conf.dev +++ b/odoo/nginx/odoo.conf.dev @@ -9,7 +9,7 @@ upstream ${SERVICE}longpoll { server { listen ${PORT}; server_name ${SERVER_NAMES}; - client_max_body_size 200M; + client_max_body_size 500M; keepalive_timeout 120s; proxy_read_timeout ${PROXY_READ_TIMEOUT}; proxy_connect_timeout ${PROXY_CONNECT_TIMEOUT};