summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-03 20:02:18 +0300
committerGitHub <[email protected]>2021-06-03 20:02:18 +0300
commit0323e070103cc2c30d2cdfb12719d753acafe151 (patch)
treefd71da071040f22dab2fbca7d89fc8e4f92c81cf /plugins
parentc3e57fd82d59be19b2c41479e9019c60a0afc28f (diff)
parent22e56524281c91aed3acaf5467be1de96798964b (diff)
#702 fix(fcgi): use fcgi server in the `applyMiddlewares` for the `serveFCGI`
#702 fix(fcgi): use fcgi server in the `applyMiddlewares` for the `serveFCGI`
Diffstat (limited to 'plugins')
-rw-r--r--plugins/http/serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http/serve.go b/plugins/http/serve.go
index bf1ccafe..6d3f2228 100644
--- a/plugins/http/serve.go
+++ b/plugins/http/serve.go
@@ -73,7 +73,7 @@ func (p *Plugin) serveFCGI(errCh chan error) {
const op = errors.Op("serveFCGI")
if len(p.mdwr) > 0 {
- applyMiddlewares(p.https, p.mdwr, p.cfg.Middleware, p.log)
+ applyMiddlewares(p.fcgi, p.mdwr, p.cfg.Middleware, p.log)
}
l, err := utils.CreateListener(p.cfg.FCGIConfig.Address)