Disable features not availables in some platforms
This commit is contained in:
parent
0d2434f87f
commit
fdd231816c
4 changed files with 22 additions and 11 deletions
|
|
@ -123,14 +123,23 @@ Example usage: `custom-http-errors: 404,415`
|
|||
### Other Directives
|
||||
|
||||
#### brotli-level
|
||||
|
||||
Sets the Brotli Compression Level that will be used.
|
||||
*Defaults to* 4
|
||||
|
||||
|
||||
#### brotli-types
|
||||
|
||||
Sets the MIME Types that will be compressed on-the-fly by brotli.
|
||||
*Defaults to* `application/xml+rss application/atom+xml application/javascript application/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`
|
||||
|
||||
#### enable-brotli
|
||||
|
||||
Enables or disables compression of HTTP responses using the ["brotli" module](https://github.com/google/ngx_brotli).
|
||||
|
||||
The default mime type list to compress is: `application/xml+rss application/atom+xml application/javascript application/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`.
|
||||
|
||||
This is *enabled* by default
|
||||
|
||||
#### enable-modsecurity
|
||||
|
||||
|
|
@ -332,14 +341,6 @@ Sets the number of unsuccessful attempts to communicate with the [server](http:/
|
|||
|
||||
Sets the time during which the specified number of unsuccessful attempts to communicate with the [server](http://nginx.org/en/docs/http/ngx_http_upstream_module.html#upstream) should happen to consider the server unavailable.
|
||||
|
||||
#### use-brotli
|
||||
|
||||
Enables or disables compression of HTTP responses using the ["brotli" module](https://github.com/google/ngx_brotli).
|
||||
|
||||
The default mime type list to compress is: `application/xml+rss application/atom+xml application/javascript application/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`.
|
||||
|
||||
This is *enabled* by default
|
||||
|
||||
|
||||
#### use-gzip
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue