Skip to content

Commit

Permalink
Merge pull request #32 from erseco/patch-2
Browse files Browse the repository at this point in the history
Enable gzip compression on nginx
  • Loading branch information
TrafeX authored Apr 26, 2020
2 parents 7766064 + 365f521 commit 918f390
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,13 @@ http {
fastcgi_pass 127.0.0.1:9000;
}
}


gzip on;
gzip_proxied any;
gzip_types text/plain application/xml text/css text/js text/xml application/x-javascript text/javascript application/json application/xml+rss;
gzip_vary on;
gzip_disable "msie6";

# Include other server configs
include /etc/nginx/conf.d/*.conf;
}

0 comments on commit 918f390

Please sign in to comment.