[IMP]Odoo Nginx : increase max body size to 500M
This commit is contained in:
parent
fc2df667d7
commit
75264581da
@ -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;
|
||||||
|
@ -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};
|
||||||
|
Loading…
Reference in New Issue
Block a user