Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy committed Oct 20, 2020
2 parents 658dcc5 + 351a4ed commit c0538a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nginx.default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ server {
listen 80;
server_name localhost;

gzip on;
gzip_buffers 32 4K;
gzip_comp_level 6;
gzip_min_length 100;
gzip_types application/javascript text/css text/xml;
gzip_disable "MSIE [1-6]\.";
gzip_vary on;

location / {
root /usr/share/nginx/html;
try_files $uri $uri/ /index.html ;
Expand Down

0 comments on commit c0538a3

Please sign in to comment.