[IMP]Odoo Nginx : increase max body size to 500M

This commit is contained in:
Fabien BOURGEOIS 2019-05-17 10:19:22 +02:00
parent fc2df667d7
commit 75264581da
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ server {
server { server {
listen ${NGINX_SSL_PORT} ssl; listen ${NGINX_SSL_PORT} ssl;
server_name ${SERVER_NAMES}; server_name ${SERVER_NAMES};
client_max_body_size 200M; client_max_body_size 500M;
gzip on; gzip on;
gzip_min_length 512; gzip_min_length 512;
gzip_buffers 4 32k; gzip_buffers 4 32k;

View File

@ -9,7 +9,7 @@ upstream ${SERVICE}longpoll {
server { server {
listen ${PORT}; listen ${PORT};
server_name ${SERVER_NAMES}; server_name ${SERVER_NAMES};
client_max_body_size 200M; client_max_body_size 500M;
keepalive_timeout 120s; keepalive_timeout 120s;
proxy_read_timeout ${PROXY_READ_TIMEOUT}; proxy_read_timeout ${PROXY_READ_TIMEOUT};
proxy_connect_timeout ${PROXY_CONNECT_TIMEOUT}; proxy_connect_timeout ${PROXY_CONNECT_TIMEOUT};