Permalink
Browse files

Add gzip config

  • Loading branch information...
mirakui committed Oct 31, 2015
1 parent a241957 commit 2b5b6a5387f11ef160594cee8b8ba2ab03698e1c
Showing with 7 additions and 0 deletions.
  1. +7 −0 5f/config/nginx.conf
View
@@ -45,6 +45,13 @@ http {
proxy_buffers 100 32k;
proxy_buffer_size 8k;
+ gzip on;
+ gzip_http_version 1.0;
+ gzip_proxied any;
+ gzip_types text/css
+ text/javascript
+ gzip_static on;
+
server {
listen 80;

0 comments on commit 2b5b6a5

Please sign in to comment.