[IMP]Nginx GZIP compression for odoo
This commit is contained in:
parent
d0f06e0252
commit
964f2d69c7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user