diff options
author | Valery Piashchynski <[email protected]> | 2021-06-03 20:02:18 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-03 20:02:18 +0300 |
commit | 0323e070103cc2c30d2cdfb12719d753acafe151 (patch) | |
tree | fd71da071040f22dab2fbca7d89fc8e4f92c81cf /plugins | |
parent | c3e57fd82d59be19b2c41479e9019c60a0afc28f (diff) | |
parent | 22e56524281c91aed3acaf5467be1de96798964b (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.go | 2 |
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) |