Skip to content

Commit

Permalink
fix js gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
zhujunsan committed Jun 5, 2017
1 parent 4b32f50 commit 8e361ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ ENV php_conf /usr/local/etc/php-fpm.conf
ENV fpm_conf /usr/local/etc/php-fpm.d/www.conf
ENV php_vars /usr/local/etc/php/conf.d/docker-vars.ini


RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
&& CONFIG="\
--prefix=/etc/nginx \
Expand Down
2 changes: 1 addition & 1 deletion conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ http {
gzip_min_length 1000;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/x-javascript text/javascript image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype;
gzip_types text/plain text/css application/json application/javascript application/x-javascript text/javascript image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype;
gzip_disable "MSIE [1-6].(?!.*SV1)";

include /etc/nginx/sites-enabled/*;
Expand Down

0 comments on commit 8e361ca

Please sign in to comment.