Migrate Compress from bool to struct
This commit is contained in:
parent
43d22d7a2f
commit
c159e316be
6 changed files with 19 additions and 12 deletions
|
@ -13,7 +13,7 @@ defaultEntryPoints = ["http", "https"]
|
|||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":80"
|
||||
compress = true
|
||||
[entryPoints.http.compress]
|
||||
|
||||
[entryPoints.http.whitelist]
|
||||
sourceRange = ["10.42.0.0/16", "152.89.1.33/32", "afed:be44::/16"]
|
||||
|
@ -453,7 +453,7 @@ To enable compression support using gzip format.
|
|||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":80"
|
||||
compress = true
|
||||
[entryPoints.http.compress]
|
||||
```
|
||||
|
||||
Responses are compressed when:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue