diff --git a/odoo/nginx/odoo.conf b/odoo/nginx/odoo.conf index 1d8f8eb..9c068ea 100644 --- a/odoo/nginx/odoo.conf +++ b/odoo/nginx/odoo.conf @@ -15,7 +15,11 @@ server { server { listen 443 ssl; server_name ${ODOO_SERVER_NAMES}; - client_max_body_size 200M; + client_max_body_size 200M; + gzip on; + gzip_min_length 256; + gzip_types text/plain application/x-javascript application/json text/xml text/css; + gzip_vary on; location / { proxy_pass http://odooserver; proxy_http_version 1.1;