Skip to content

Commit

Permalink
IMP nginx conf
Browse files Browse the repository at this point in the history
  • Loading branch information
jjscarafia committed Jul 29, 2017
1 parent 95bba62 commit 76db41f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions infrastructure/models/instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1741,10 +1741,11 @@ def action_view_databases(self):
# enable data compression
gzip on;
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/plain application/x-javascript text/xml text/css;
gzip_vary on;
# gzip_min_length 1100;
# gzip_buffers 4 32k;
# gzip_types text/plain application/x-javascript text/xml text/css;
gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
# gzip_vary on;
# cache some static data in memory for 60mins.
# under heavy load this should relieve stress on the OpenERP web interface a bit.
Expand Down Expand Up @@ -1815,10 +1816,11 @@ def action_view_databases(self):
# enable data compression
gzip on;
gzip_min_length 1100;
gzip_buffers 4 32k;
gzip_types text/plain application/x-javascript text/xml text/css;
gzip_vary on;
# gzip_min_length 1100;
# gzip_buffers 4 32k;
# gzip_types text/plain application/x-javascript text/xml text/css;
gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;
# gzip_vary on;
# cache some static data in memory for 60mins.
# under heavy load this should relieve stress on the OpenERP web interface a bit.
Expand Down

0 comments on commit 76db41f

Please sign in to comment.