Merge pull request #81 from asmundg/x-gzip-javascript

Gzip application/javascript
This commit is contained in:
Jason Wilder 2015-01-12 16:34:19 -07:00
commit 07793dbc48

View file

@ -12,7 +12,7 @@ map $http_upgrade $proxy_connection {
'' ''; '' '';
} }
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript; gzip_types text/plain text/css application/javascript application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
log_format vhost '$host $remote_addr - $remote_user [$time_local] ' log_format vhost '$host $remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent ' '"$request" $status $body_bytes_sent '