move x-accel into local storage configuration
This commit is contained in:
@ -55,9 +55,9 @@ func configFromFile(path string) (*cacheproxy.Config, error) {
|
||||
Local: &cacheproxy.LocalStorage{
|
||||
Path: "./data",
|
||||
TemporaryFilePattern: "temp.*",
|
||||
},
|
||||
Accel: cacheproxy.Accel{
|
||||
ResponseWithHeaders: []string{"X-Sendfile", "X-Accel-Redirect"},
|
||||
Accel: cacheproxy.Accel{
|
||||
RespondWithHeaders: []string{"X-Sendfile", "X-Accel-Redirect"},
|
||||
},
|
||||
},
|
||||
},
|
||||
Misc: cacheproxy.MiscConfig{
|
||||
|
Reference in New Issue
Block a user