Add mime aplication/x-javascript to the gzip list and show the defaults in configuration.md
This commit is contained in:
parent
0bcfcef8f8
commit
6d03a101be
3 changed files with 4 additions and 3 deletions
|
@ -14,7 +14,8 @@ Changelog
|
|||
- [X] [#1238](https://github.com/kubernetes/contrib/pull/1238) Add support for dynamic TLS records and spdy
|
||||
- [X] [#1239](https://github.com/kubernetes/contrib/pull/1239) Add support for conditional log of urls
|
||||
- [X] [#1253](https://github.com/kubernetes/contrib/pull/1253) Use delayed queue
|
||||
|
||||
- [X] [#1296](https://github.com/kubernetes/contrib/pull/1296) Fix formatting
|
||||
- [X] [#1299](https://github.com/kubernetes/contrib/pull/1299) Fix formatting
|
||||
|
||||
### 0.7
|
||||
|
||||
|
|
|
@ -268,7 +268,7 @@ Default is true
|
|||
|
||||
|
||||
**use-gzip:** Enables or disables the use of the nginx module that compresses responses using the ["gzip" module](http://nginx.org/en/docs/http/ngx_http_gzip_module.html)
|
||||
|
||||
The default mime type list to compress is: `application/atom+xml application/javascript aplication/x-javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/svg+xml image/x-icon text/css text/plain text/x-component`
|
||||
|
||||
**use-http2:** Enables or disables the [HTTP/2](http://nginx.org/en/docs/http/ngx_http_v2_module.html) support in secure connections
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ const (
|
|||
// If UseProxyProtocol is enabled defIPCIDR defines the default the IP/network address of your external load balancer
|
||||
defIPCIDR = "0.0.0.0/0"
|
||||
|
||||
gzipTypes = "application/atom+xml application/javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/svg+xml image/x-icon text/css text/plain text/x-component"
|
||||
gzipTypes = "application/atom+xml application/javascript aplication/x-javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/svg+xml image/x-icon text/css text/plain text/x-component"
|
||||
|
||||
// http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_buffer_size
|
||||
// Sets the size of the buffer used for sending data.
|
||||
|
|
Loading…
Reference in a new issue